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:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_outliner.py')
-rw-r--r--release/scripts/startup/bl_ui/space_outliner.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index 6f7c535fe21..eb3cef8012d 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -59,6 +59,14 @@ class OUTLINER_HT_header(Header):
row.label(text="No Keying Set active")
elif space.display_mode == 'ORPHAN_DATA':
layout.operator("outliner.orphans_purge")
+ elif space.display_mode == 'COLLECTIONS':
+ row = layout.row(align=True)
+
+ row.operator("collections.collection_new", text="", icon='NEW')
+ row.operator("collections.override_new", text="", icon='LINK_AREA')
+ row.operator("collections.collection_link", text="", icon='LINKED')
+ row.operator("collections.collection_unlink", text="", icon='UNLINKED')
+ row.operator("collections.delete", text="", icon='X')
class OUTLINER_MT_editor_menus(Menu):