Commit: ca796f872e19744a14ff492e60d5d3e08f531648
Author: Julian Eisel
Date: Tue Mar 7 11:23:07 2017 +0100
Branches: master
https://developer.blender.org/rBca796f872e19744a14ff492e60d5d3e08f531648
Once more T50565: Allow using planar constraints for scale manipulator
===================================================================
M source/blender/editors/transform/transform_manipulator.c
===================================================================
diff --git a/source/blender/editors/transform/transform_manipulator.c
b/source/blender/editors/transform/transform_manipulator.c
index 1567cafeb0..40c123d873 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;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs