[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21352] branches/blender2.5/blender/source /blender/editors/sculpt_paint/sculpt.c: 2.5/Sculpt:

Nicholas Bishop nicholasbishop at gmail.com
Fri Jul 3 17:31:25 CEST 2009


Revision: 21352
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21352
Author:   nicholasbishop
Date:     2009-07-03 17:31:23 +0200 (Fri, 03 Jul 2009)

Log Message:
-----------
2.5/Sculpt:

Bugfix, mesh face normals not getting updated because a list was freed in the wrong place.

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/sculpt_paint/sculpt.c

Modified: branches/blender2.5/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/sculpt_paint/sculpt.c	2009-07-03 15:23:33 UTC (rev 21351)
+++ branches/blender2.5/blender/source/blender/editors/sculpt_paint/sculpt.c	2009-07-03 15:31:23 UTC (rev 21352)
@@ -1457,8 +1457,6 @@
 				
 	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 @@
 			}
 			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);





More information about the Bf-blender-cvs mailing list