Commit: c8067a555932b122b9495dacbac86992a5ff1a8e
Author: Campbell Barton
Date:   Fri Jan 18 23:15:00 2019 +1100
Branches: master
https://developer.blender.org/rBc8067a555932b122b9495dacbac86992a5ff1a8e

Fix undo push entering sculpt mode

===================================================================

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 d7a2c38f340..e315f88836a 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5743,6 +5743,7 @@ void ED_object_sculptmode_enter_ex(
                        sculpt_undo_push_begin("Dynamic topology enable");
                        sculpt_dynamic_topology_enable_ex(depsgraph, scene, ob);
                        sculpt_undo_push_node(ob, NULL, 
SCULPT_UNDO_DYNTOPO_BEGIN);
+                       sculpt_undo_push_end();
                }
                else {
                        BKE_reportf(reports, RPT_WARNING,

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to