diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-06 19:04:29 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-06 19:08:24 +0300 |
commit | fb15dfbddf0ab65cae01e0620abdd7bb046a7aba (patch) | |
tree | 9e7aca8f64700f7e508ffcf05701b2b68a8b9ea6 /source/blender/depsgraph/intern/node/deg_node_operation.cc | |
parent | 49e07dfdfbe5edf133ec9a5f1ffa7cd8ac05c3a3 (diff) |
Depsgraph: Fix dependency cycle when rigid body is involved
Was introduced by point cache reset on manual edits. Needed to
split evaluation and introduce an explicit init key, which allows
to hook up relations which are "monitoring" manual edits to the
channel.
Noticed while looking into T61190.
Diffstat (limited to 'source/blender/depsgraph/intern/node/deg_node_operation.cc')
-rw-r--r-- | source/blender/depsgraph/intern/node/deg_node_operation.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/node/deg_node_operation.cc b/source/blender/depsgraph/intern/node/deg_node_operation.cc index f8f9c16af23..2a338613068 100644 --- a/source/blender/depsgraph/intern/node/deg_node_operation.cc +++ b/source/blender/depsgraph/intern/node/deg_node_operation.cc @@ -49,13 +49,13 @@ const char *operationCodeAsString(OperationCode opcode) /* Object related. */ case OperationCode::OBJECT_BASE_FLAGS: return "OBJECT_BASE_FLAGS"; /* Transform. */ + case OperationCode::TRANSFORM_INIT: return "TRANSFORM_INIT"; case OperationCode::TRANSFORM_LOCAL: return "TRANSFORM_LOCAL"; case OperationCode::TRANSFORM_PARENT: return "TRANSFORM_PARENT"; case OperationCode::TRANSFORM_CONSTRAINTS: return "TRANSFORM_CONSTRAINTS"; case OperationCode::TRANSFORM_FINAL: return "TRANSFORM_FINAL"; - case OperationCode::TRANSFORM_OBJECT_UBEREVAL: - return "TRANSFORM_OBJECT_UBEREVAL"; + case OperationCode::TRANSFORM_EVAL: return "TRANSFORM_EVAL"; /* Rigid body. */ case OperationCode::RIGIDBODY_REBUILD: return "RIGIDBODY_REBUILD"; case OperationCode::RIGIDBODY_SIM: return "RIGIDBODY_SIM"; |