Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
| Show First 20 Lines • Show All 521 Lines • ▼ Show 20 Lines | void DepsgraphNodeBuilder::build_collection(LayerCollection *from_layer_collection, | ||||
| id_node->is_collection_fully_expanded = true; | id_node->is_collection_fully_expanded = true; | ||||
| } | } | ||||
| void DepsgraphNodeBuilder::build_object(int base_index, | void DepsgraphNodeBuilder::build_object(int base_index, | ||||
| Object *object, | Object *object, | ||||
| eDepsNode_LinkedState_Type linked_state, | eDepsNode_LinkedState_Type linked_state, | ||||
| bool is_visible) | bool is_visible) | ||||
| { | { | ||||
| if (object->proxy != NULL) { | |||||
| object->proxy->proxy_from = object; | |||||
| } | |||||
| const bool has_object = built_map_.checkIsBuiltAndTag(object); | const bool has_object = built_map_.checkIsBuiltAndTag(object); | ||||
| /* Skip rest of components if the ID node was already there. */ | /* Skip rest of components if the ID node was already there. */ | ||||
| if (has_object) { | if (has_object) { | ||||
| IDNode *id_node = find_id_node(&object->id); | IDNode *id_node = find_id_node(&object->id); | ||||
| /* We need to build some extra stuff if object becomes linked | /* We need to build some extra stuff if object becomes linked | ||||
| * directly. */ | * directly. */ | ||||
| if (id_node->linked_state == DEG_ID_LINKED_INDIRECTLY) { | if (id_node->linked_state == DEG_ID_LINKED_INDIRECTLY) { | ||||
| build_object_flags(base_index, object, linked_state); | build_object_flags(base_index, object, linked_state); | ||||
| ▲ Show 20 Lines • Show All 1,182 Lines • Show Last 20 Lines | |||||