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

Martin Poirier theeth at yahoo.com
Sat Oct 29 14:12:12 CEST 2005


theeth (Martin Poirier) 2005/10/29 14:12:12 CEST

  Modified files:
    blender/source/blender/src transform_generics.c 
  
  Log:
  Bug in Ton's mirror clipping feature.
  It was assuming the real half is always on the positive, which is not true all the time (the mirror modifier doesn't make that assumption).
  It incorrecly snapped everything to 0 if the half is in the negative quadrant.
  
  Fix was to do "if (td->loc[0] * td->loc[0] < 0" instead, only snapping if the sign changed.
  
  NOTE: this is all "in theory", as scons is broken, but I'm pretty sure the bug was real and the fix is.
  
  Revision  Changes    Path
  1.71      +4 -4      blender/source/blender/src/transform_generics.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_generics.c.diff?r1=1.70&r2=1.71&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list