diff options
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index ab24bbb35d4..7ed276e45de 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -770,7 +770,12 @@ static void transform_event_xyz_constraint(TransInfo *t, short key_type, bool is stopConstraint(t); } else { - setUserConstraint(t, constraint_axis, is_plane ? msg3 : msg2); + if (is_plane == false) { + setUserConstraint(t, constraint_axis, msg2); + } + else { + setUserConstraint(t, constraint_plane, msg3); + } } } t->redraw |= TREDRAW_HARD; |