Blender Git Loki

Git Commits -> Revision 59b30d1

Revision 59b30d1 by Martin Poirier (master)
December 18, 2006, 23:48 (GMT)
=== 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.

Commit Details:

Full Hash: 59b30d178a3cc1bd7921adcc68835fcbf3ec61da
SVN Revision: 9362
Parent Commit: 3f55751
Lines Changed: +141, -35

2 Modified Paths:

/source/blender/include/transform.h (+3, -0) (Diff)
/source/blender/src/transform_snap.c (+138, -35) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021