[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47224] branches/soc-2011-tomato/source/ blender/editors/mask/mask_shapekey.c: only keyframe selected maskobjects
Campbell Barton
ideasman42 at gmail.com
Wed May 30 15:46:44 CEST 2012
Revision: 47224
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47224
Author: campbellbarton
Date: 2012-05-30 13:46:44 +0000 (Wed, 30 May 2012)
Log Message:
-----------
only keyframe selected maskobjects
Modified Paths:
--------------
branches/soc-2011-tomato/source/blender/editors/mask/mask_shapekey.c
Modified: branches/soc-2011-tomato/source/blender/editors/mask/mask_shapekey.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/mask/mask_shapekey.c 2012-05-30 13:22:51 UTC (rev 47223)
+++ branches/soc-2011-tomato/source/blender/editors/mask/mask_shapekey.c 2012-05-30 13:46:44 UTC (rev 47224)
@@ -67,7 +67,7 @@
for (maskobj = mask->maskobjs.first; maskobj; maskobj = maskobj->next) {
MaskObjectShape *maskobj_shape;
- if (maskobj->restrictflag & (MASK_RESTRICT_VIEW | MASK_RESTRICT_SELECT)) {
+ if (!ED_mask_object_select_check(maskobj)) {
continue;
}
@@ -113,7 +113,7 @@
for (maskobj = mask->maskobjs.first; maskobj; maskobj = maskobj->next) {
MaskObjectShape *maskobj_shape;
- if (maskobj->restrictflag & (MASK_RESTRICT_VIEW | MASK_RESTRICT_SELECT)) {
+ if (!ED_mask_object_select_check(maskobj)) {
continue;
}
More information about the Bf-blender-cvs
mailing list