News:

 

Topic: Crash: Moving Isolated Vertices  (Read 4002 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 496
  • Triangle
February 24, 2013, 03:15:25 am
In some cases, NVil crashes when moving isolated vertices. Try this: Select nothing and enter vertex mode. Activate the 'Vertex Shortcut Tool -> Create/Insert' tool and start creating a polygon. Now either cancel the operation or complete the polygon and undo. You should now have an object which only contains vertices. BTW: The object list doesn't take isolated vertices into account when displaying the number of vertices! Select one or several vertices and try to move them. NVil will crash.
I can sometimes reproduce the bug, when deleting edges from a cube without deleting isolated vertices, but the method from scratch is more reliable in reproducing the crash.

Code: [Select]
System.IndexOutOfRangeException was not handled.
  Message=Index was outside of the array.
  Source=CharacterClasses
  StackTrace:
       at DigitalFossil.BaseVertex.GetEdgeArray(BaseVertex vertex)
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.TransformManager.SetExcludeSnappingObjectsFromVerticesCore(ArrayList verts)
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.TransformManager.SetExcludeSnappingObjectsFromVertices(ArrayList verts)
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.TransformManager.SelectionHolder.MoveVertexFromInfo(Vector3 vMoved, CharacterHolder characterHolder, ArrayList selectionUnits)
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.TransformManager.SelectionHolder.Update()
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.TransformManager.UpdateCore()
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.TransformManager.Update()
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.Update()
       at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.FrameMove()
       at DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)
       at DigitalFossil.BaseGraphicWindow.Render(PresentTarget pt, Boolean forced)
       at DigitalFossil.BaseGraphicWindow.FullRender(Boolean forced, Boolean allWindows)
       at DigitalFossil.BaseGraphicWindow.FullRender()
       at DigitalFossil.AnimationDesign.AnimationDesignForm.FullRender()
       at DigitalFossil.AnimationDesign.AnimationDesignForm.Render()
       at DigitalFossil.StartForm.Run_InMainThread()
       at DigitalFossil.StartForm.Main(String[] args)

  • No avatar
  • Posts: 3758
  • Developer
  • Administrator
  • Polygon
February 24, 2013, 11:38:01 am
Fixed.