[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46935] branches/soc-2011-tomato/source/ blender/editors/mask/mask_select.c: fix for crash selecting curve pointsx

Campbell Barton ideasman42 at gmail.com
Wed May 23 14:15:12 CEST 2012


Revision: 46935
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46935
Author:   campbellbarton
Date:     2012-05-23 12:15:12 +0000 (Wed, 23 May 2012)
Log Message:
-----------
fix for crash selecting curve pointsx

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

Modified: branches/soc-2011-tomato/source/blender/editors/mask/mask_select.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/mask/mask_select.c	2012-05-23 11:38:00 UTC (rev 46934)
+++ branches/soc-2011-tomato/source/blender/editors/mask/mask_select.c	2012-05-23 12:15:12 UTC (rev 46935)
@@ -254,7 +254,8 @@
 			if (!extend)
 				ED_mask_select_toggle_all(mask, SEL_DESELECT);
 
-			uw->flag |= SELECT;
+			if (uw)
+				uw->flag |= SELECT;
 
 			maskobj->act_spline = spline;
 			maskobj->act_point = point;




More information about the Bf-blender-cvs mailing list