Commit: b558fa671551bbd04a56b79767385a25952e7688
Author: Campbell Barton
Date: Fri Jul 1 21:50:53 2016 +1000
Branches: master
https://developer.blender.org/rBb558fa671551bbd04a56b79767385a25952e7688
Add wait cursor toggling dyntopo
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt.c
b/source/blender/editors/sculpt_paint/sculpt.c
index 37ec2d0..c436730 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5092,6 +5092,8 @@ static int sculpt_dynamic_topology_toggle_exec(bContext
*C, wmOperator *UNUSED(o
Object *ob = CTX_data_active_object(C);
SculptSession *ss = ob->sculpt;
+ WM_cursor_wait(1);
+
if (ss->bm) {
sculpt_undo_push_begin("Dynamic topology disable");
sculpt_undo_push_node(ob, NULL, SCULPT_UNDO_DYNTOPO_END);
@@ -5104,6 +5106,8 @@ static int sculpt_dynamic_topology_toggle_exec(bContext
*C, wmOperator *UNUSED(o
}
sculpt_undo_push_end(C);
+ WM_cursor_wait(0);
+
return OPERATOR_FINISHED;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs