[Bf-blender-cvs] CVS commit: blender/source/blender/include transform.h blender/source/blender/src transform_snap.c

Martin Poirier theeth at yahoo.com
Tue Dec 19 00:48:32 CET 2006


theeth (Martin Poirier) 2006/12/19 00:48:32 CET

  Modified files:
    blender/source/blender/include transform.h 
    blender/source/blender/src transform_snap.c 
  
  Log:
  === Transform Snap ===
  
  Work in Progress: this adds vertex snapping capabilities to translations.
  
  As before, use the menu or the hotkey (` during transform) to turn on snapping.
  
  Currently, snapping is restricted to translation and only snap to verts. Also, it will snap the nearest moving vert to the snapping vert.
  
  This also has a timeout period and refreshes the snapping point only every 0.25 seconds (assuming the timer is precise enough to do that) to mitigate the slowdown due to repeated calls to findnearestvert. Eventually, a faster method will have to be used.
  
  Also, this uncovered a bug in findnearestvert which can manifest itself as jumps and lags in snapping. People are looking into it.
  
  Still, with all those disclaimers, get the suggestions/critics pouring in.
  
  Revision  Changes    Path
  1.30      +4 -1      blender/source/blender/include/transform.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/include/transform.h.diff?r1=1.29&r2=1.30&cvsroot=bf-blender>
  1.5       +138 -35   blender/source/blender/src/transform_snap.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_snap.c.diff?r1=1.4&r2=1.5&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list