[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47279] branches/soc-2011-tomato/source/ blender/editors/mask/mask_relationships.c: fix for using wrong poll function in mask parenting
Campbell Barton
ideasman42 at gmail.com
Thu May 31 16:03:26 CEST 2012
Revision: 47279
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47279
Author: campbellbarton
Date: 2012-05-31 14:03:25 +0000 (Thu, 31 May 2012)
Log Message:
-----------
fix for using wrong poll function in mask parenting
Modified Paths:
--------------
branches/soc-2011-tomato/source/blender/editors/mask/mask_relationships.c
Modified: branches/soc-2011-tomato/source/blender/editors/mask/mask_relationships.c
===================================================================
--- branches/soc-2011-tomato/source/blender/editors/mask/mask_relationships.c 2012-05-31 13:43:21 UTC (rev 47278)
+++ branches/soc-2011-tomato/source/blender/editors/mask/mask_relationships.c 2012-05-31 14:03:25 UTC (rev 47279)
@@ -97,7 +97,7 @@
/* api callbacks */
ot->exec = mask_parent_clear_exec;
- ot->poll = ED_operator_object_active_editable;
+ ot->poll = ED_maskediting_mask_poll;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
@@ -176,7 +176,7 @@
//ot->invoke = mask_parent_set_invoke;
ot->exec = mask_parent_set_exec;
- ot->poll = ED_operator_object_active;
+ ot->poll = ED_maskediting_mask_poll;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
More information about the Bf-blender-cvs
mailing list