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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-07-03 19:31:23 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-07-03 19:31:23 +0400
commit9e71b736ebcae9bcdc6fa239722858d1828a1ac2 (patch)
tree7a08b77c456061ce1e2d3cce9543f6e95c788e81 /source
parent9f33496088e6373600641b8471fe487aa1587e75 (diff)
2.5/Sculpt:
Bugfix, mesh face normals not getting updated because a list was freed in the wrong place.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index a2b883eabfc..457deb8c113 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1457,8 +1457,6 @@ static void sculpt_brush_stroke_add_step(bContext *C, wmOperator *op, wmEvent *e
sculpt_restore_mesh(sd);
do_symmetrical_brush_actions(sd, cache);
-
- sculpt_post_stroke_free(sd->session);
}
/* For brushes with stroke spacing enabled, moves mouse in steps
@@ -1526,7 +1524,9 @@ static int sculpt_brush_stroke_modal(bContext *C, wmOperator *op, wmEvent *event
}
else
sculpt_brush_stroke_add_step(C, op, event, mouse);
+
sculpt_flush_update(C);
+ sculpt_post_stroke_free(sd->session);
}
else
ED_region_tag_redraw(ar);