diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-18 15:15:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-18 15:15:00 +0300 |
commit | c8067a555932b122b9495dacbac86992a5ff1a8e (patch) | |
tree | fbcd4badb8cf584f25ded4ae4fed36e3af0d9cd5 /source/blender/editors/sculpt_paint | |
parent | d3ec4259afc154d08f2d5fb75baa39725eaee351 (diff) |
Fix undo push entering sculpt mode
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 1 |
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, |