From d3e14c2e2fc5506270f4dd3cc41ae6bc523db296 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 9 Mar 2018 20:44:41 +1100 Subject: [PATCH] Manipulator: disable UV widget, following prefs --- source/blender/editors/transform/transform_manipulator2d.c | 4 ++++ 1 file changed, 4 insertions(+) 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);