[Bf-blender-cvs] CVS commit: blender/source/blender/render/intern/source convertblender.c

Ton Roosendaal ton at blender.org
Mon Jun 26 15:19:04 CEST 2006


ton (Ton Roosendaal) 2006/06/26 15:19:04 CEST

  Modified files:
    blender/source/blender/render/intern/source convertblender.c 
  
  Log:
  Bugfix #4457
  
  When faces (like in cubes) have exactly 90 degrees angles with other
  faces, the check for a vertex-normal flip became random, caused by the
  infamous bad floating point resolution.
  Solved with including FLT_EPSILON in the check.
  
  Also: minor optimize for readability and removed dutch function name
  (contrpuntnorm -> check_vnormal)
  
  Revision  Changes    Path
  1.47      +72 -75    blender/source/blender/render/intern/source/convertblender.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/render/intern/source/convertblender.c.diff?r1=1.46&r2=1.47&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list