[Bf-blender-cvs] CVS commit: blender/source/blender/src editmesh.c

Ton Roosendaal ton at blender.org
Sun Jun 13 12:18:33 CEST 2004


ton (Ton Roosendaal) 2004/06/13 12:18:33 CEST

  Modified files:
    blender/source/blender/src editmesh.c 
  
  Log:
  Fix for #1355
  
  Recalculate normals (mesh editmode) had some weak points, as demonstrated
  in the bug report sample file. It appeared to be 2 aspects that could be
  simply fixed:
  
  - for calculation of the most outer face (to set normal outside) it used
    a manhattan distance. making it real distance helped quite some
  - but most important: the routine only took triangles into account, which
    didn't work proper with very irregular quads, especially with non-flat
    quads. It now calculates both trias in a quad individually.
  
  Revision  Changes    Path
  1.89      +25 -7     blender/source/blender/src/editmesh.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editmesh.c.diff?r1=1.88&r2=1.89&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list