Commit: 33ddd926b769fca68bc485312ca9def847847b87
Author: Dalai Felinto
Date:   Thu Jan 18 13:54:01 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB33ddd926b769fca68bc485312ca9def847847b87

Outliner: View Layer: add option to add a new collection to the current view 
layer

This operator not only links a collection, but it creates a new one and then it
links it. Although the preferrable method for users to handle their collections
is when viewing the "Collections", let's explore this workflow for now.

Suggested by Pablo Vazquez, thank you.

===================================================================

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 f231ab7d43c..1236885f96e 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -118,6 +118,7 @@ class OUTLINER_MT_edit_active_view_layer(Menu):
         layout = self.layout
 
         layout.operator("outliner.collection_link", icon='LINKED')
+        layout.operator("outliner.collection_new", icon='NEW')
 
 
 class OUTLINER_MT_edit_datablocks(Menu):

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to