diff options
author | Ton Roosendaal <ton@blender.org> | 2011-03-14 17:00:15 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-03-14 17:00:15 +0300 |
commit | 7e69bad1c34cb50b76e27bdacf3be3a35fe67e85 (patch) | |
tree | d559163cb0acaaa6bb5d39dab683efc261d4cb2e | |
parent | 7609370d504de51371b96d8e6807ec6f62ee6c69 (diff) |
Bugfix #26498
CTRL+L "Make Links" operators were not using a correct poll(), causing
crash on using it without active object.
-rw-r--r-- | source/blender/editors/object/object_relations.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |