Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_view.c
| Context not available. | |||||
| static void local_collections_reset_uuid(LayerCollection *layer_collection, | static void local_collections_reset_uuid(LayerCollection *layer_collection, | ||||
| const unsigned short local_view_bit) | const unsigned short local_view_bit) | ||||
| { | { | ||||
| if (layer_collection->flag & LAYER_COLLECTION_HIDE) { | layer_collection->local_collections_bits |= local_view_bit; | ||||
| layer_collection->local_collections_bits &= ~local_view_bit; | |||||
| } | |||||
| else { | |||||
| layer_collection->local_collections_bits |= local_view_bit; | |||||
| } | |||||
| LISTBASE_FOREACH (LayerCollection *, child, &layer_collection->layer_collections) { | LISTBASE_FOREACH (LayerCollection *, child, &layer_collection->layer_collections) { | ||||
| local_collections_reset_uuid(child, local_view_bit); | local_collections_reset_uuid(child, local_view_bit); | ||||
| } | } | ||||
| Context not available. | |||||