Commit: 051f067fb85092ba6d1098e7396bbaf742b8afe1
Author: Sebastian Parborg
Date:   Wed Aug 12 18:05:28 2020 +0200
Branches: master
https://developer.blender.org/rB051f067fb85092ba6d1098e7396bbaf742b8afe1

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.

===================================================================

M       source/blender/depsgraph/intern/builder/deg_builder_rna.cc

===================================================================

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;
       }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to