[Bf-blender-cvs] [c8067a55593] master: Fix undo push entering sculpt mode

Campbell Barton noreply at git.blender.org
Fri Jan 18 14:53:30 CET 2019


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,



More information about the Bf-blender-cvs mailing list