News:

 

Topic: Stride Ring Grow's "Ring Grow Full" and "Ring Grow Single" are broken  (Read 3906 times)

0 Members and 1 Guest are viewing this topic.

  • No avatar
  • Posts: 976
  • Polygon
December 17, 2014, 08:17:08 pm
To reproduce:
Create a plane with 1 height segment and many width segments.
1. Select first width segment (border edge) and run Stride Ring Grow->Ring Grow Full->Stride 2 - no problems.
2. Clear the selection.
3. Select the second width segment and run the same command. Unhandled NullPointer exception will occur:
Code: [Select]
System.NullReferenceException: Object reference not set to an instance of an object.
   at DigitalFossil.BasePolygon.GetEdgeArray(BasePolygon poly)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.FindNextAdjLoopEdge(Edge edge, Int32 level, Edge& edge1, Edge& edge2)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.GrowSiblingLoopEdges(Int32 index, Boolean growAll)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.EdgeRingGrowMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The full stride by 2 won't work for even edges.
Only full stride by 1 seem to work correctly. Stride values greater or equal to 3 don't work at all.

Stride Ring Grow->Ring Grow Single is broken too.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
December 22, 2014, 09:13:18 am
Fixed.

  • No avatar
  • Posts: 976
  • Polygon
December 24, 2014, 12:36:49 am
Thank you! :)