diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index 1eeae97b312..71b0dd82252 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -1143,6 +1143,11 @@ static int make_links_scene_exec(bContext *C, wmOperator *op) return OPERATOR_CANCELLED; } + if(scene_to->id.lib) { + BKE_report(op->reports, RPT_ERROR, "Can't link objects into a linked scene"); + return OPERATOR_CANCELLED; + } + CTX_DATA_BEGIN(C, Base*, base, selected_bases) { if(!object_in_scene(base->object, scene_to)) { |