[Bf-blender-cvs] [c632cf9ccda] master: Fix UV select separate not refreshing the display
Campbell Barton
noreply at git.blender.org
Mon Jul 6 13:25:12 CEST 2020
Commit: c632cf9ccda78dff6949821c4ee51933413da983
Author: Campbell Barton
Date: Mon Jul 6 21:23:35 2020 +1000
Branches: master
https://developer.blender.org/rBc632cf9ccda78dff6949821c4ee51933413da983
Fix UV select separate not refreshing the display
===================================================================
M source/blender/editors/uvedit/uvedit_select.c
===================================================================
diff --git a/source/blender/editors/uvedit/uvedit_select.c b/source/blender/editors/uvedit/uvedit_select.c
index b701e94cd77..afc5739fcbd 100644
--- a/source/blender/editors/uvedit/uvedit_select.c
+++ b/source/blender/editors/uvedit/uvedit_select.c
@@ -2061,6 +2061,7 @@ void UV_OT_select_linked_pick(wmOperatorType *ot)
*/
static int uv_select_split_exec(bContext *C, wmOperator *op)
{
+ Depsgraph *depsgraph = CTX_data_ensure_evaluated_depsgraph(C);
Scene *scene = CTX_data_scene(C);
ViewLayer *view_layer = CTX_data_view_layer(C);
const ToolSettings *ts = scene->toolsettings;
@@ -2127,6 +2128,7 @@ static int uv_select_split_exec(bContext *C, wmOperator *op)
if (changed) {
changed_multi = true;
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_IMAGE, NULL);
+ uv_select_tag_update_for_object(depsgraph, ts, obedit);
}
}
MEM_freeN(objects);
More information about the Bf-blender-cvs
mailing list