[Bf-blender-cvs] [af91bbc221f] master: UI: expand names of collection menu
Campbell Barton
noreply at git.blender.org
Wed Apr 15 05:06:27 CEST 2020
Commit: af91bbc221fe21f9238172a8e152fe49dcd67d4b
Author: Campbell Barton
Date: Wed Apr 15 12:35:28 2020 +1000
Branches: master
https://developer.blender.org/rBaf91bbc221fe21f9238172a8e152fe49dcd67d4b
UI: expand names of collection menu
===================================================================
M release/scripts/startup/bl_ui/space_outliner.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index cc773300d9e..413659735b6 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -243,10 +243,14 @@ class OUTLINER_MT_collection_new(Menu):
bl_label = "Collection"
def draw(self, context):
+ # Note: this menu is used in any context where collections exist,
+ # as a generic way to add data. The names here are expanded because
+ # this menu is often expended without it's title.
+
layout = self.layout
- layout.operator("outliner.collection_new", text="New").nested = False
- layout.operator("outliner.id_paste", text="Paste", icon='PASTEDOWN')
+ layout.operator("outliner.collection_new", text="New Collection").nested = False
+ layout.operator("outliner.id_paste", text="Paste Data-Blocks", icon='PASTEDOWN')
layout.separator()
More information about the Bf-blender-cvs
mailing list