mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
UI: expand names of collection menu
This commit is contained in:
parent
e74535df08
commit
af91bbc221
1 changed files with 6 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue