UI: Collections Visibility panel tweaks
authorDalai Felinto <dfelinto@gmail.com>
Tue, 30 Apr 2019 21:19:45 +0000 (18:19 -0300)
committerDalai Felinto <dfelinto@gmail.com>
Tue, 30 Apr 2019 21:21:58 +0000 (18:21 -0300)
1. No need to repeat the title inside the panel (this was needed when we
had this as a popup menu).

2. No need to call it "Collections Visibility" since we are already
under the "View" category. It is "Collections" now, short and sweet.

release/scripts/startup/bl_ui/space_view3d.py

index b6e2467..519217b 100644 (file)
@@ -4766,7 +4766,7 @@ class VIEW3D_PT_collections(Panel):
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'UI'
     bl_category = "View"
-    bl_label = "Collections Visibility"
+    bl_label = "Collections"
     bl_options = {'DEFAULT_CLOSED'}
 
     def _draw_collection(self, layout, view_layer, collection, index):
@@ -4817,9 +4817,6 @@ class VIEW3D_PT_collections(Panel):
         layout = self.layout
         layout.use_property_split = False
 
-        layout.label(text="Collections Visibility")
-        layout.column()
-
         view_layer = context.view_layer
         # We pass index 0 here beause the index is increased
         # so the first real index is 1