diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-09 12:44:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-09 12:44:41 +0300 |
commit | d3e14c2e2fc5506270f4dd3cc41ae6bc523db296 (patch) | |
tree | 3cb741f9465b39a0d76487dedaa6799ce99395a2 /source | |
parent | f47a41a3d9f9850f852abb3d76bea2c8b281bb45 (diff) |
Manipulator: disable UV widget, following prefs
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator2d.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_manipulator2d.c b/source/blender/editors/transform/transform_manipulator2d.c index 9b6dd187c15..a9414a7f4bf 100644 --- a/source/blender/editors/transform/transform_manipulator2d.c +++ b/source/blender/editors/transform/transform_manipulator2d.c @@ -353,6 +353,10 @@ void ED_widgetgroup_manipulator2d_draw_prepare(const bContext *C, wmManipulatorG */ bool ED_widgetgroup_manipulator2d_poll(const bContext *C, wmManipulatorGroupType *UNUSED(wgt)) { + if ((U.manipulator_flag & USER_MANIPULATOR_DRAW) == 0) { + return false; + } + SpaceImage *sima = CTX_wm_space_image(C); Object *obedit = CTX_data_edit_object(C); |