Outliner/visibility: revert changes for now until we find better solutions.
See T57857 for discussion. This reverts: "Outliner: Do not gray out empty collections"4521d3e707. "Remove eye column from the outliner"fd16b35997. Fix/workaround issues in pose and edit mode"6d2e2e30d5. "Per view-layer collection visibility"4de6a210c6.
This commit is contained in:
@@ -4078,8 +4078,11 @@ class VIEW3D_PT_collections(Panel):
|
||||
sub = row.split()
|
||||
subrow = sub.row(align=True)
|
||||
subrow.alignment = 'RIGHT'
|
||||
subrow.active = collection.is_visible # Parent collection runtime visibility
|
||||
subrow.prop(child, "hide_viewport", text="", emboss=False)
|
||||
icon = 'HIDE_OFF' if has_visible_objects else 'HIDE_ON'
|
||||
props = subrow.operator("object.hide_collection", text="", icon=icon, emboss=False)
|
||||
props.collection_index = index
|
||||
props.toggle = True
|
||||
subrow.prop(child.collection, "hide_select", text="", emboss=False)
|
||||
|
||||
for child in collection.children:
|
||||
index = self._draw_collection(layout, view_layer, child, index)
|
||||
|
||||
Reference in New Issue
Block a user