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>2019-05-01 00:19:45 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-05-01 00:21:58 +0300
commitab33692bc26bf0caf3376f6caa763dfb158ada94 (patch)
tree0fa4d82ba7d188d95d96686a0765ebac2b5699d9
parent20a8b075612ac9d5fabff7ae7a4e0f9b2b164169 (diff)
UI: Collections Visibility panel tweaks
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.
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index b6e24671515..519217bf61c 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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