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
path: root/source
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-04-17 20:12:05 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-04-17 20:13:58 +0400
commitdc40a97fc1809aef4ae34c929d26680de4999b28 (patch)
tree818a9ae174eecbf91c5997f863b480b498e2eef1 /source
parent38eef8deee4261f0139d29eb81584131a862bf59 (diff)
Optimize and symmetrize operators missed reset of node layer.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index dbf99e96053..f5bdbfa974d 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5013,6 +5013,7 @@ static int sculpt_optimize_exec(bContext *C, wmOperator *UNUSED(op))
Object *ob = CTX_data_active_object(C);
sculpt_pbvh_clear(ob);
+ sculpt_dyntopo_node_layers_reset(ob->sculpt);
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, ob);
return OPERATOR_FINISHED;
@@ -5071,6 +5072,7 @@ static int sculpt_symmetrize_exec(bContext *C, wmOperator *UNUSED(op))
/* Redraw */
sculpt_pbvh_clear(ob);
+ sculpt_dyntopo_node_layers_reset(ss);
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, ob);
return OPERATOR_FINISHED;