From b26992fe6e3ed071295e01e958affb55e52a51a6 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 4 Dec 2017 18:06:02 +0100 Subject: Depsgraph: Add criteria for RNA_Key --- source/blender/depsgraph/intern/depsgraph.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc index 295bc398061..0cc31a53732 100644 --- a/source/blender/depsgraph/intern/depsgraph.cc +++ b/source/blender/depsgraph/intern/depsgraph.cc @@ -189,6 +189,11 @@ static bool pointer_to_component_node_criteria( *type = DEG_NODE_TYPE_GEOMETRY; return true; } + else if (ptr->type == &RNA_Key) { + *id = (ID *)ptr->id.data; + *type = DEG_NODE_TYPE_GEOMETRY; + return true; + } else if (RNA_struct_is_a(ptr->type, &RNA_Sequence)) { Sequence *seq = (Sequence *)ptr->data; /* Sequencer strip */ -- cgit v1.2.3