NVil Forum

General Category => Bug Reports => Topic started by: Vaquero on February 16, 2013, 11:57:39 pm

Title: Error Message: Fill Jagged Border Edges
Post by: Vaquero on February 16, 2013, 11:57:39 pm
An error message pops up, when using the 'Fill Jagged Border Edges' command in a special way, it is not supposed to be used in. To reproduce do the following
Create a plane and split it up once in one direction, and twice in the other, so you get 2x3 faces.
Now select a face in the middle of one side and delete it. You basically have a U shape now.
Select the 3 newly created border edges.
Do the 'Fill Jagged Border Edges' and enjoy the error message.

Code: [Select]
System.NullReferenceException: Object reference not set to an object instance.
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.FillOpenEdgeGap(Component component, ArrayList edges)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.FillOpenEdgeGap()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ShortCutToolManager.ShortCutOpFillJaggedBorderEdges.Execute()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.ExecuteTool(Object tool, Boolean redirect)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ExecuteTool(Object tool, Boolean redirect)
   at DigitalFossil.AnimationDesign.ToolSearchControl.ExecuteTool(Boolean redirect)
   at DigitalFossil.AnimationDesign.ToolSearchControl.listBxNames_MouseDown(Object sender, MouseEventArgs e)
   at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ListBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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)
Title: Re: Error Message: Fill Jagged Border Edges
Post by: IStonia on February 17, 2013, 09:32:22 pm
Fixed.