[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47171] branches/soc-2011-tomato/source/ blender/editors/mask/mask_draw.c: fix crash with using uninitialized curves

Campbell Barton ideasman42 at gmail.com
Tue May 29 13:48:34 CEST 2012


Revision: 47171
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47171
Author:   campbellbarton
Date:     2012-05-29 11:48:34 +0000 (Tue, 29 May 2012)
Log Message:
-----------
fix crash with using uninitialized curves

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/editors/mask/mask_draw.c

Modified: branches/soc-2011-tomato/source/blender/editors/mask/mask_draw.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/mask/mask_draw.c	2012-05-29 11:19:46 UTC (rev 47170)
+++ branches/soc-2011-tomato/source/blender/editors/mask/mask_draw.c	2012-05-29 11:48:34 UTC (rev 47171)
@@ -267,7 +267,7 @@
 
 		for (spline = maskobj->splines.first; spline; spline = spline->next) {
 
-			BKE_mask_spline_ensure_deform(spline);
+//			BKE_mask_spline_ensure_deform(spline);
 
 			/* draw curve itself first... */
 			draw_spline_curve(maskobj, spline);




More information about the Bf-blender-cvs mailing list