diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-06 15:21:39 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-06 15:21:39 +0300 |
commit | fbd9c09ef0cb91a1c19a1a43cbc69856efc6d989 (patch) | |
tree | c559d467e9927ca1b94ea5a03e30e6c910ef2b5b | |
parent | 9e8e32e1178983bb257bfeb79b05d0a1af07dc13 (diff) |
Depsgraph: Add relations for spline animation
Currently only obvious setting which can be animated is Smooth.
The rest requires more proper support from animation update on
the Curve datablock.
But at least with this change it's not a "dependency graph fault"
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_rna.cc | 3 |
1 files changed, 2 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 b7efdc0fa3f..5c7fa98ccf1 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc @@ -278,7 +278,8 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(const PointerRNA *ptr, } } else if (RNA_struct_is_a(ptr->type, &RNA_Modifier) || - RNA_struct_is_a(ptr->type, &RNA_GpencilModifier)) { + RNA_struct_is_a(ptr->type, &RNA_GpencilModifier) || + RNA_struct_is_a(ptr->type, &RNA_Spline)) { /* When modifier is used as FROM operation this is likely referencing to * the property (for example, modifier's influence). * But when it's used as TO operation, this is geometry component. */ |