Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/node/deg_node_operation.cc
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | case OperationCode::RIGIDBODY_REBUILD: | ||||
| return "RIGIDBODY_REBUILD"; | return "RIGIDBODY_REBUILD"; | ||||
| case OperationCode::RIGIDBODY_SIM: | case OperationCode::RIGIDBODY_SIM: | ||||
| return "RIGIDBODY_SIM"; | return "RIGIDBODY_SIM"; | ||||
| case OperationCode::RIGIDBODY_TRANSFORM_COPY: | case OperationCode::RIGIDBODY_TRANSFORM_COPY: | ||||
| return "RIGIDBODY_TRANSFORM_COPY"; | return "RIGIDBODY_TRANSFORM_COPY"; | ||||
| /* Geometry. */ | /* Geometry. */ | ||||
| case OperationCode::GEOMETRY_EVAL_INIT: | case OperationCode::GEOMETRY_EVAL_INIT: | ||||
| return "GEOMETRY_EVAL_INIT"; | return "GEOMETRY_EVAL_INIT"; | ||||
| case OperationCode::GEOMETRY_EVAL_DEFORM: | |||||
| return "GEOMETRY_EVAL_DEFORM"; | |||||
| case OperationCode::GEOMETRY_EVAL: | case OperationCode::GEOMETRY_EVAL: | ||||
| return "GEOMETRY_EVAL"; | return "GEOMETRY_EVAL"; | ||||
| case OperationCode::GEOMETRY_EVAL_DONE: | case OperationCode::GEOMETRY_EVAL_DONE: | ||||
| return "GEOMETRY_EVAL_DONE"; | return "GEOMETRY_EVAL_DONE"; | ||||
| case OperationCode::GEOMETRY_SHAPEKEY: | case OperationCode::GEOMETRY_SHAPEKEY: | ||||
| return "GEOMETRY_SHAPEKEY"; | return "GEOMETRY_SHAPEKEY"; | ||||
| /* Object data. */ | /* Object data. */ | ||||
| case OperationCode::LIGHT_PROBE_EVAL: | case OperationCode::LIGHT_PROBE_EVAL: | ||||
| ▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | case OperationCode::PARTICLE_SETTINGS_RESET: | ||||
| return "PARTICLE_SETTINGS_RESET"; | return "PARTICLE_SETTINGS_RESET"; | ||||
| /* Point Cache. */ | /* Point Cache. */ | ||||
| case OperationCode::POINT_CACHE_RESET: | case OperationCode::POINT_CACHE_RESET: | ||||
| return "POINT_CACHE_RESET"; | return "POINT_CACHE_RESET"; | ||||
| /* File cache. */ | /* File cache. */ | ||||
| case OperationCode::FILE_CACHE_UPDATE: | case OperationCode::FILE_CACHE_UPDATE: | ||||
| return "FILE_CACHE_UPDATE"; | return "FILE_CACHE_UPDATE"; | ||||
| /* Batch cache. */ | /* Batch cache. */ | ||||
| case OperationCode::BATCH_UPDATE_SELECT: | case OperationCode::GEOMETRY_SELECT_UPDATE: | ||||
| return "BATCH_UPDATE_SELECT"; | return "GEOMETRY_SELECT_UPDATE"; | ||||
| case OperationCode::BATCH_UPDATE_DEFORM: | |||||
| return "BATCH_UPDATE_DEFORM"; | |||||
| case OperationCode::BATCH_UPDATE_ALL: | |||||
| return "BATCH_UPDATE_ALL"; | |||||
| /* Masks. */ | /* Masks. */ | ||||
| case OperationCode::MASK_ANIMATION: | case OperationCode::MASK_ANIMATION: | ||||
| return "MASK_ANIMATION"; | return "MASK_ANIMATION"; | ||||
| case OperationCode::MASK_EVAL: | case OperationCode::MASK_EVAL: | ||||
| return "MASK_EVAL"; | return "MASK_EVAL"; | ||||
| /* Collections. */ | /* Collections. */ | ||||
| case OperationCode::VIEW_LAYER_EVAL: | case OperationCode::VIEW_LAYER_EVAL: | ||||
| return "VIEW_LAYER_EVAL"; | return "VIEW_LAYER_EVAL"; | ||||
| Show All 27 Lines | switch (opcode) { | ||||
| case OperationCode::SEQUENCES_EVAL: | case OperationCode::SEQUENCES_EVAL: | ||||
| return "SEQUENCES_EVAL"; | return "SEQUENCES_EVAL"; | ||||
| /* instancing/duplication. */ | /* instancing/duplication. */ | ||||
| case OperationCode::DUPLI: | case OperationCode::DUPLI: | ||||
| return "DUPLI"; | return "DUPLI"; | ||||
| case OperationCode::SIMULATION_EVAL: | case OperationCode::SIMULATION_EVAL: | ||||
| return "SIMULATION_EVAL"; | return "SIMULATION_EVAL"; | ||||
| } | } | ||||
| BLI_assert(!"Unhandled operation code, should never happen."); | BLI_assert_msg(0, "Unhandled operation code, should never happen."); | ||||
| return "UNKNOWN"; | return "UNKNOWN"; | ||||
| } | } | ||||
| OperationNode::OperationNode() : name_tag(-1), flag(0) | OperationNode::OperationNode() : name_tag(-1), flag(0) | ||||
| { | { | ||||
| } | } | ||||
| string OperationNode::identifier() const | string OperationNode::identifier() const | ||||
| ▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines | |||||