diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-05-14 23:08:15 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-05-14 23:08:15 +0400 |
commit | 978dce4266f0ba4881c39e01f5f00cf65595ee75 (patch) | |
tree | 4199fa765c41b358ccf7911e25a322114de3be3b | |
parent | 2ae34a98161bc2e6e5971658562fd3132826c005 (diff) |
Fix snapping bug in 2.5
-rw-r--r-- | source/blender/editors/transform/transform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 4212964ccec..674de81a9f5 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -599,6 +599,7 @@ void transformEvent(TransInfo *t, wmEvent *event) resetTransRestrictions(t); restoreTransObjects(t); initTranslation(t); + initSnapping(t, NULL); // need to reinit after mode change t->redraw = 1; } break; @@ -608,6 +609,7 @@ void transformEvent(TransInfo *t, wmEvent *event) resetTransRestrictions(t); restoreTransObjects(t); initResize(t); + initSnapping(t, NULL); // need to reinit after mode change t->redraw = 1; } break; @@ -625,6 +627,7 @@ void transformEvent(TransInfo *t, wmEvent *event) restoreTransObjects(t); initRotation(t); } + initSnapping(t, NULL); // need to reinit after mode change t->redraw = 1; } break; |