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:
authorAndrea Weikert <elubie@gmx.net>2014-09-04 21:35:18 +0400
committerAndrea Weikert <elubie@gmx.net>2014-09-04 21:35:18 +0400
commit61914883ffb7e5aad5b4652cae1085f4565c47f7 (patch)
tree8c73b580a7920c45a291eef870492294920eb1d7 /release/scripts/startup/bl_ui/space_info.py
parent94b29cd8b4715b33043443b703a85ec1b397c154 (diff)
Separate operators for Link and Append.
Since the choice to link or append has been removed in the file browser operator panel, there was no way to tell whether as a user you were linking or appending. To fix this the proposed patch separates the operators. Reviewers: campbellbarton, carter2422, venomgfx Subscribers: fsiddi Maniphest Tasks: T41593 Differential Revision: https://developer.blender.org/D770
Diffstat (limited to 'release/scripts/startup/bl_ui/space_info.py')
-rw-r--r--release/scripts/startup/bl_ui/space_info.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index cecddb86f2b..67b2bbe1905 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -127,10 +127,8 @@ class INFO_MT_file(Menu):
layout.separator()
layout.operator_context = 'INVOKE_AREA'
- layout.operator("wm.link_append", text="Link", icon='LINK_BLEND')
- props = layout.operator("wm.link_append", text="Append", icon='APPEND_BLEND')
- props.link = False
- props.instance_groups = False
+ layout.operator("wm.link", text="Link", icon='LINK_BLEND')
+ layout.operator("wm.append", text="Append", icon='APPEND_BLEND')
layout.separator()