[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47222] branches/soc-2011-tomato/source/ blender/editors/mask/mask_ops.c: fix for own mistake
Campbell Barton
ideasman42 at gmail.com
Wed May 30 15:21:13 CEST 2012
Revision: 47222
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47222
Author: campbellbarton
Date: 2012-05-30 13:21:13 +0000 (Wed, 30 May 2012)
Log Message:
-----------
fix for own mistake
Modified Paths:
--------------
branches/soc-2011-tomato/source/blender/editors/mask/mask_ops.c
Modified: branches/soc-2011-tomato/source/blender/editors/mask/mask_ops.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/mask/mask_ops.c 2012-05-30 13:07:55 UTC (rev 47221)
+++ branches/soc-2011-tomato/source/blender/editors/mask/mask_ops.c 2012-05-30 13:21:13 UTC (rev 47222)
@@ -1210,7 +1210,7 @@
maskobj = BKE_mask_object_active(mask);
- if (maskobj->restrictflag & (MASK_RESTRICT_VIEW | MASK_RESTRICT_SELECT)) {
+ if (maskobj && maskobj->restrictflag & (MASK_RESTRICT_VIEW | MASK_RESTRICT_SELECT)) {
maskobj = NULL;
}
More information about the Bf-blender-cvs
mailing list