Bugfix #26498
CTRL+L "Make Links" operators were not using a correct poll(), causing crash on using it without active object.
This commit is contained in:
@@ -1354,7 +1354,7 @@ void OBJECT_OT_make_links_data(wmOperatorType *ot)
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= make_links_data_exec;
|
||||
ot->poll= ED_operator_objectmode;
|
||||
ot->poll= ED_operator_object_active;
|
||||
|
||||
/* flags */
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
Reference in New Issue
Block a user