diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-02-09 22:39:58 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-02-09 22:39:58 +0300 |
commit | 9e3cf0c2e86daa3b9eecc94a2f35c03260c7e7af (patch) | |
tree | 64c3524703c661f170374be7c48c20c72bc998ab /release | |
parent | c80f9822fdb7bb3a647197bc5bdc5611fbd3b29e (diff) |
Draw buttons for editing collections in outliner
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_outliner.py | 8 |
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): |