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:
authorDalai Felinto <dfelinto@gmail.com>2017-01-30 20:23:51 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-01-30 20:23:51 +0300
commitf35d38e5a71500f1180a6d8878970c637b675214 (patch)
tree7343bb4499c0e3bfc8ff903d67996923c05f48dc
parent45b9dee8bd7ec38e31ce95721290a90c0efc18dd (diff)
Collections Editor: populate header with operators
-rw-r--r--release/scripts/startup/bl_ui/space_collections.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_collections.py b/release/scripts/startup/bl_ui/space_collections.py
index e46684b62bd..9b612ce2ecd 100644
--- a/release/scripts/startup/bl_ui/space_collections.py
+++ b/release/scripts/startup/bl_ui/space_collections.py
@@ -28,7 +28,13 @@ class COLLECTIONS_HT_header(Header):
layout = self.layout
layout.template_header()
- layout.label(text="Work in progress")
+
+ 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')
if __name__ == "__main__": # only for live edit.