Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/layer.c
| Show First 20 Lines • Show All 1,854 Lines • ▼ Show 20 Lines | void BKE_layer_eval_layer_collection(const struct EvaluationContext *UNUSED(eval_ctx), | ||||
| for (LinkData *link = layer_collection->object_bases.first; link != NULL; link = link->next) { | for (LinkData *link = layer_collection->object_bases.first; link != NULL; link = link->next) { | ||||
| Base *base = link->data; | Base *base = link->data; | ||||
| if (is_visible) { | if (is_visible) { | ||||
| IDP_MergeGroup(base->collection_properties, layer_collection->properties_evaluated, true); | IDP_MergeGroup(base->collection_properties, layer_collection->properties_evaluated, true); | ||||
| base->flag |= BASE_VISIBLED; | base->flag |= BASE_VISIBLED; | ||||
| } | } | ||||
| else { | |||||
| base->flag &= ~BASE_VISIBLED; | |||||
| } | |||||
| if (is_selectable) { | if (is_selectable) { | ||||
| base->flag |= BASE_SELECTABLED; | base->flag |= BASE_SELECTABLED; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| void BKE_layer_eval_layer_collection_post(const struct EvaluationContext *UNUSED(eval_ctx), | void BKE_layer_eval_layer_collection_post(const struct EvaluationContext *UNUSED(eval_ctx), | ||||
| Show All 18 Lines | |||||