NVil Forum

General Category => Bug Reports => Fixed => Topic started by: ghib on September 29, 2011, 09:27:03 pm

Title: [Fixed] [CRASH 2011-Sep-27] Polygon Inset
Post by: ghib on September 29, 2011, 09:27:03 pm
Crash 2011-Sep-27

   • Entered Poly mode
   • Had Symmetry mode switched on
   • Made Polygon selection on both sides of symmetry line
   • Pressed 'S' RMB  to Polygon Inset.
   • VW crashed with this message:

Code: [Select]
System.NullReferenceException: Object reference not set to an instance of an object.
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.StreamLineEngine.RenderPolygon(Polygon polyToRender, Boolean polyInIsSubDivisionBase, Boolean canRenderSymmetricalPolys)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.StreamLineEngine.RenderItemsTwo()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.StreamLineEngine.RenderTwo()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.RenderTwo()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderObjects()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render()
   at DigitalFossil.BaseGraphicWindow.Render3DEnvironment()
   at DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)
Title: Re: [CRASH 2011-Sep-27] Polygon Inset
Post by: Passerby on September 29, 2011, 10:50:03 pm
how complex was the mesh i tried to re-create that on a cube and wasn't able to cause a crash.
Title: Re: [CRASH 2011-Sep-27] Polygon Inset
Post by: IStonia on September 30, 2011, 02:01:25 am
I think I found this bug my self yestaday. It hapens when the object is not fully symmatrical and the programe failed to find the symmetrical highlight polygon.

1. Create a shpere.
2. Symmetrize it.
3. Modify > Subdivision > Level 2.
4. Modify > Subdvision > Collapse Subdivsion.
5. Go to polygon mode and  try to move the cursor to highlight a polygon.

It is fixed in the current version I am working on.
Title: Re: [CRASH 2011-Sep-27] Polygon Inset
Post by: ghib on September 30, 2011, 07:13:28 am
Istonia that's good to hear, nice one.
Passerby, cheers for taking a look.  I couldn't reproduce it 100% either.