diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-19 10:47:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-19 10:52:26 +0300 |
commit | 7b14065729af4266bffbf70ef0de3bd646ec555c (patch) | |
tree | bbb13136b933e369227cea9f1baafdc455a93806 /source/blender/editors/transform/transform_manipulator.c | |
parent | 2ecb9856bc3a77354c9785a7119a0904d11e0d8c (diff) |
Manipulator: de-duplicate flags and scale option
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 38d41f6dc3a..2f276eb98b5 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -1360,7 +1360,7 @@ static bool WIDGETGROUP_manipulator_poll(const struct bContext *C, struct wmMani const ScrArea *sa = CTX_wm_area(C); const View3D *v3d = sa->spacedata.first; - return (((v3d->twflag & V3D_USE_MANIPULATOR) != 0) && + return (((v3d->twflag & V3D_MANIPULATOR_DRAW) != 0) && ((v3d->twtype & (V3D_MANIP_TRANSLATE | V3D_MANIP_ROTATE | V3D_MANIP_SCALE)) != 0)); } |