Blender Git Loki
Git Commits -> Revision 8573c1a
Revision 8573c1a by Campbell Barton (master) January 18, 2016, 03:01 (GMT) |
Fix T29153: Rotate & scale ignore snapping points Checking for 'Closest' here isn't needed since TransSnap.snapTarget callback is already ensuring the selected target is the closest. Also don't reuse the pre-calculated distance, since its only valid to do this when there are no snap points and this isn't a significant gain to avoid the extra calculation - run once per update. |
Commit Details:
Full Hash: 8573c1a84728546e949ced6e6f198afd16ac4dc4
Parent Commit: b4146a0
Lines Changed: +8, -18
1 Modified Path:
/source/blender/editors/transform/transform_snap.c (+8, -18) (Diff)