From 7e69bad1c34cb50b76e27bdacf3be3a35fe67e85 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 14 Mar 2011 14:00:15 +0000 Subject: [PATCH] Bugfix #26498 CTRL+L "Make Links" operators were not using a correct poll(), causing crash on using it without active object. --- source/blender/editors/object/object_relations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index baf88ba1d9a..8d378d25937 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -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;