Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-18 15:15:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-18 15:15:00 +0300
commitc8067a555932b122b9495dacbac86992a5ff1a8e (patch)
treefbcd4badb8cf584f25ded4ae4fed36e3af0d9cd5 /source/blender/editors/sculpt_paint/sculpt.c
parentd3ec4259afc154d08f2d5fb75baa39725eaee351 (diff)
Fix undo push entering sculpt mode
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c1
1 files changed, 1 insertions, 0 deletions
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,