Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2020-08-12 19:05:28 +0300
committerSebastian Parborg <darkdefende@gmail.com>2020-08-12 19:07:29 +0300
commit051f067fb85092ba6d1098e7396bbaf742b8afe1 (patch)
tree5a2b97d10d1a6c39d70c20b4dd90dbb0c58aaf85 /source/blender/depsgraph
parentff4b5d00e4da54b1bcca232211fe17c8a8bf2c49 (diff)
Fix T79706: Delta Transform Animation not working
The object "delta_" rna variables were not added to the depsgraph search and thus it would not trigger updates of the object during animation playback.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_rna.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
index ec18b429c2e..18b24179edf 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
@@ -311,7 +311,11 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(const PointerRNA *ptr,
contains(prop_identifier, "rotation_axis_angle") ||
contains(prop_identifier, "rotation_euler") ||
contains(prop_identifier, "rotation_mode") ||
- contains(prop_identifier, "rotation_quaternion") || contains(prop_identifier, "scale")) {
+ contains(prop_identifier, "rotation_quaternion") || contains(prop_identifier, "scale") ||
+ contains(prop_identifier, "delta_location") ||
+ contains(prop_identifier, "delta_rotation_euler") ||
+ contains(prop_identifier, "delta_rotation_quaternion") ||
+ contains(prop_identifier, "delta_scale")) {
node_identifier.type = NodeType::TRANSFORM;
return node_identifier;
}