diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-12-08 03:57:44 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-12-08 03:57:44 +0400 |
commit | 6d8f76cfabd96bf3865f924f8afdcb13ae78beb4 (patch) | |
tree | ffb51480d6b4f624b03b311fad36af232e1185f4 /source | |
parent | 9f1ace246951e3d54f6e75d9b8d548501bc4ee0b (diff) |
Minor addition for completeness (unlikely to happen), make sure new
sculpt struct has at least dyntopo subdivision turned on.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 100eae97f91..33ba4f6fef0 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -5069,6 +5069,9 @@ static int sculpt_mode_toggle_exec(bContext *C, wmOperator *op) /* Turn on X plane mirror symmetry by default */ ts->sculpt->flags |= SCULPT_SYMM_X; + + /* Make sure at least dyntopo subdivision is enabled */ + ts->sculpt->flags |= SCULPT_DYNTOPO_SUBDIVIDE; } if (!ts->sculpt->detail_size) |