Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-11 19:09:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-11 19:09:19 +0300
commitb90646dc0e3dcfae6fe52eab32542cebf5a60b0e (patch)
tree20053e67782eec6505b5003c3a5186c97d6d63bc /source/blender/editors
parent8bab591758289a5cf7bc4e5cd6b0322a5c8915e3 (diff)
Transform Manipulator: fix scale handle selection
The scale handles couldn't be accessed when rotation was enabled and they pointed away from the view.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/transform/transform_manipulator_3d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_manipulator_3d.c b/source/blender/editors/transform/transform_manipulator_3d.c
index fa56e8d10be..7dc72ddff6f 100644
--- a/source/blender/editors/transform/transform_manipulator_3d.c
+++ b/source/blender/editors/transform/transform_manipulator_3d.c
@@ -1248,6 +1248,8 @@ static ManipulatorGroup *manipulatorgroup_init(wmManipulatorGroup *mgroup)
MANIPULATOR_NEW_PRIM(MAN_AXIS_TRANS_YZ, ED_MANIPULATOR_PRIMITIVE_STYLE_PLANE);
MANIPULATOR_NEW_PRIM(MAN_AXIS_TRANS_ZX, ED_MANIPULATOR_PRIMITIVE_STYLE_PLANE);
+ man->manipulators[MAN_AXIS_ROT_T]->flag |= WM_MANIPULATOR_SELECT_BACKGROUND;
+
return man;
}