Fix sculpt undo steps not enabling dyntopo
[blender.git] / source / blender / editors / util / ed_util.c
index 0e3158c6d4420f33a3318f377fbd6a4bea06fc16..16b85f532701dbb22ae2a777d6948723a29f085e 100644 (file)
@@ -146,7 +146,7 @@ void ED_editors_init(bContext *C)
                                else if (mode & OB_MODE_ALL_SCULPT) {
                                        if (obact == ob) {
                                                if (mode == OB_MODE_SCULPT) {
-                                                       ED_object_sculptmode_enter_ex(bmain, depsgraph, scene, ob, reports);
+                                                       ED_object_sculptmode_enter_ex(bmain, depsgraph, scene, ob, true, reports);
                                                }
                                                else if (mode == OB_MODE_VERTEX_PAINT) {
                                                        ED_object_vpaintmode_enter_ex(bmain, depsgraph, wm, scene, ob);