Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_nodes_layer.cc
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | void DepsgraphNodeBuilder::build_layer_collection(Scene *scene, | ||||
| * Harmless but could be optimized. | * Harmless but could be optimized. | ||||
| */ | */ | ||||
| ComponentDepsNode *comp = add_component_node(&scene->id, DEPSNODE_TYPE_LAYER_COLLECTIONS); | ComponentDepsNode *comp = add_component_node(&scene->id, DEPSNODE_TYPE_LAYER_COLLECTIONS); | ||||
| add_operation_node(comp, | add_operation_node(comp, | ||||
| DEPSOP_TYPE_EXEC, | DEPSOP_TYPE_EXEC, | ||||
| function_bind(BKE_layer_eval_layer_collection, | function_bind(BKE_layer_eval_layer_collection, | ||||
| _1, | _1, | ||||
| scene, | |||||
| layer_collection, | layer_collection, | ||||
| state->parent), | state->parent), | ||||
| DEG_OPCODE_SCENE_LAYER_EVAL, | DEG_OPCODE_SCENE_LAYER_EVAL, | ||||
| layer_collection->scene_collection->name, | layer_collection->scene_collection->name, | ||||
| state->index); | state->index); | ||||
| ++state->index; | ++state->index; | ||||
| /* Recurs into nested layer collections. */ | /* Recurs into nested layer collections. */ | ||||
| Show All 39 Lines | |||||