Fix T39767: Parent in Mask mode crashes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user