From fbd9c09ef0cb91a1c19a1a43cbc69856efc6d989 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 6 Jun 2019 14:21:39 +0200 Subject: 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" --- source/blender/depsgraph/intern/builder/deg_builder_rna.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender') 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. */ -- cgit v1.2.3