Fix T39767: Parent in Mask mode crashes

This commit is contained in:
Campbell Barton
2014-04-17 13:23:16 +10:00
parent 64f3774d62
commit ba61992cc3

View File

@@ -195,7 +195,7 @@ void MASK_OT_parent_set(wmOperatorType *ot)
//ot->invoke = mask_parent_set_invoke;
ot->exec = mask_parent_set_exec;
ot->poll = ED_maskedit_mask_poll;
ot->poll = ED_space_clip_maskedit_mask_poll;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;