diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-03-07 13:23:07 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-03-07 13:23:07 +0300 |
commit | ca796f872e19744a14ff492e60d5d3e08f531648 (patch) | |
tree | 5183133261a1ca4ad3dfb94c03e684745714ee15 /source/blender/editors/transform/transform_manipulator.c | |
parent | 15fa806160f33ea2ae5185fbf888f53c38b7602a (diff) |
Once more T50565: Allow using planar constraints for scale manipulator
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 1567cafeb08..40c123d8732 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -1872,10 +1872,8 @@ int BIF_do_manipulator(bContext *C, const struct wmEvent *event, wmOperator *op) drawflags = manipulator_selectbuf(sa, ar, event->mval, 0.2f * (float)U.tw_hotspot); if (drawflags == 0) drawflags = val; - /* We are not doing translation but were requested to do planar constraints. - * This wouldn't work, so we give other keymaps a chance. - */ - if ((drawflags & MAN_TRANS_C) == 0 && use_planar) { + /* Planar constraint doesn't make sense for rotation, give other keymaps a chance */ + if ((drawflags & MAN_ROT_C) && use_planar) { return 0; } |