Page MenuHome

Shift+h turns off visibility of objects in hidden collections.
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 417.35

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: rBf1aa4d18d49d
Worked: (optional)

Short description of error
If I have objects in hidden collections, and isolate an object from a visible collection, it turns off the visibility of all other objects even in hidden collections.

Exact steps for others to reproduce the error
New scene.
select light and camera and move to a new collection.
Turn visibility off for new collection.
Select the cube.
Make several duplicates of the cube.
Select around half of them and move to a new collection (now we have 3 collections).
Turn off visibility for that new collection.
Select one of the remaining visible cubes and press Shift+h to isolate visibility.
Turn visibility back on for the hidden collections.
Nothing reappears since they are all hidden.

This issue doesn't exist in 2.80.

Event Timeline

This change in behavior seems to originate from commit rB0812949bbc3d7acfd1f20a47087ff973110aa177 (D5992). @Dalai Felinto (dfelinto) is this working as designed or was the changed effect of object_hide_view_set_exec (object_edit.c) unintentional?

Still broken in 2.82 Beta

@Robert Guetzkow (rjg) indeed it could take only the (local) visible collections into consideration, want to patch it?

Referring back to 2.79, the behaviour was to respect the visibility of objects when you are on other layers. Currently, the workaround is to completely disable a collection (with the checkbox, not the eye) so this doesn't happen, but when you reenable it, the visibility of all contained objects is affected.

Thanks guys, you're my heroes.