Page Menu
Home
Search
Configure Global Search
Log In
Paste
P255
Alternative behavior for absolute grid snapping w/ individual origins
Active
Public
Actions
Authored by
Julian Eisel (Severin)
on Sep 6 2015, 12:34 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index 74dbc09..14f3a65 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -709,6 +709,12 @@ static void recalcData_objects(TransInfo *t)
{
Base *base = t->scene->basact;
+ if (t->state != TRANS_CANCEL) {
+ if (t->around == V3D_LOCAL && t->tsnap.mode == SCE_SNAP_MODE_INCREMENT && t->tsnap.snap_spatial_grid) {
+ applyGridAbsolute(t);
+ }
+ }
+
if (t->obedit) {
if (ELEM(t->obedit->type, OB_CURVE, OB_SURF)) {
Curve *cu = t->obedit->data;
Event Timeline
Julian Eisel (Severin)
edited the content of this paste.
(Show Details)
Sep 6 2015, 12:34 AM
Julian Eisel (Severin)
changed the title of this paste from untitled to
Alternative behavior for absolute grid snapping w/ individual origins
.
Julian Eisel (Severin)
updated the paste's language from
autodetect
to
autodetect
.
Julian Eisel (Severin)
mentioned this in
T45212: Absolute Grid Snapping Corner Cases
.
Sep 6 2015, 12:36 AM
Log In to Comment