[Bf-blender-cvs] [b26992fe6e3] master: Depsgraph: Add criteria for RNA_Key
Sergey Sharybin
noreply at git.blender.org
Wed Dec 6 10:32:41 CET 2017
Commit: b26992fe6e3ed071295e01e958affb55e52a51a6
Author: Sergey Sharybin
Date: Mon Dec 4 18:06:02 2017 +0100
Branches: master
https://developer.blender.org/rBb26992fe6e3ed071295e01e958affb55e52a51a6
Depsgraph: Add criteria for RNA_Key
===================================================================
M source/blender/depsgraph/intern/depsgraph.cc
===================================================================
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 */
More information about the Bf-blender-cvs
mailing list