Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
| Show All 20 Lines | |||||
| #include "DNA_action_types.h" | #include "DNA_action_types.h" | ||||
| #include "DNA_anim_types.h" | #include "DNA_anim_types.h" | ||||
| #include "DNA_armature_types.h" | #include "DNA_armature_types.h" | ||||
| #include "DNA_cachefile_types.h" | #include "DNA_cachefile_types.h" | ||||
| #include "DNA_camera_types.h" | #include "DNA_camera_types.h" | ||||
| #include "DNA_collection_types.h" | #include "DNA_collection_types.h" | ||||
| #include "DNA_constraint_types.h" | #include "DNA_constraint_types.h" | ||||
| #include "DNA_curve_types.h" | #include "DNA_curve_types.h" | ||||
| #include "DNA_curves_types.h" | |||||
| #include "DNA_effect_types.h" | #include "DNA_effect_types.h" | ||||
| #include "DNA_gpencil_types.h" | #include "DNA_gpencil_types.h" | ||||
| #include "DNA_key_types.h" | #include "DNA_key_types.h" | ||||
| #include "DNA_light_types.h" | #include "DNA_light_types.h" | ||||
| #include "DNA_lightprobe_types.h" | #include "DNA_lightprobe_types.h" | ||||
| #include "DNA_linestyle_types.h" | #include "DNA_linestyle_types.h" | ||||
| #include "DNA_mask_types.h" | #include "DNA_mask_types.h" | ||||
| #include "DNA_material_types.h" | #include "DNA_material_types.h" | ||||
| ▲ Show 20 Lines • Show All 1,521 Lines • ▼ Show 20 Lines | case ID_GD: { | ||||
| [obdata_cow](::Depsgraph *depsgraph) { | [obdata_cow](::Depsgraph *depsgraph) { | ||||
| BKE_gpencil_frame_active_set(depsgraph, | BKE_gpencil_frame_active_set(depsgraph, | ||||
| (bGPdata *)obdata_cow); | (bGPdata *)obdata_cow); | ||||
| }); | }); | ||||
| op_node->set_as_entry(); | op_node->set_as_entry(); | ||||
| break; | break; | ||||
| } | } | ||||
| case ID_CV: { | case ID_CV: { | ||||
| Curves *curves_id = reinterpret_cast<Curves *>(obdata); | |||||
| op_node = add_operation_node(obdata, NodeType::GEOMETRY, OperationCode::GEOMETRY_EVAL); | op_node = add_operation_node(obdata, NodeType::GEOMETRY, OperationCode::GEOMETRY_EVAL); | ||||
| op_node->set_as_entry(); | op_node->set_as_entry(); | ||||
| if (curves_id->surface != nullptr) { | |||||
| build_object(-1, curves_id->surface, DEG_ID_LINKED_INDIRECTLY, false); | |||||
| } | |||||
| break; | break; | ||||
| } | } | ||||
| case ID_PT: { | case ID_PT: { | ||||
| op_node = add_operation_node(obdata, NodeType::GEOMETRY, OperationCode::GEOMETRY_EVAL); | op_node = add_operation_node(obdata, NodeType::GEOMETRY, OperationCode::GEOMETRY_EVAL); | ||||
| op_node->set_as_entry(); | op_node->set_as_entry(); | ||||
| break; | break; | ||||
| } | } | ||||
| case ID_VO: { | case ID_VO: { | ||||
| ▲ Show 20 Lines • Show All 554 Lines • Show Last 20 Lines | |||||