Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-04-06 05:16:39 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-04-06 05:16:39 +0400
commit93cc8eea452adb32bb90d1b5056b4456f30aa30c (patch)
treea7eaae46de3f1f915019934c6253bee7b4e47b6d /release/scripts/ui/space_info.py
parentbfe04b23a4065a5541f84dd04917284e4a7a8398 (diff)
Fix #21383: appending a group would also instance it by default, which
will give duplicate objects since the actual object are appended already, so only enable this option by default for linking now.
Diffstat (limited to 'release/scripts/ui/space_info.py')
-rw-r--r--release/scripts/ui/space_info.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/space_info.py b/release/scripts/ui/space_info.py
index 0683a3cb763..12734f0a931 100644
--- a/release/scripts/ui/space_info.py
+++ b/release/scripts/ui/space_info.py
@@ -106,7 +106,9 @@ class INFO_MT_file(bpy.types.Menu):
layout.operator_context = 'INVOKE_AREA'
layout.operator("wm.link_append", text="Link")
- layout.operator("wm.link_append", text="Append").link = False
+ props = layout.operator("wm.link_append", text="Append")
+ props.link = False
+ props.instance_groups = False
layout.separator()