From 0b9a65b2ae218e3b3f8f56d22673c58255b8a92f Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 25 May 2015 18:02:20 +0500 Subject: Fix T44709: New Depsgraph not evaluating driver interactively Issue was caused by drivers which uses component of an array as a target, this was not handled properly in the RNA path key. --- source/blender/depsgraph/intern/depsgraph_build_relations.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/depsgraph') diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc index fdaee42f316..a3319e7bb15 100644 --- a/source/blender/depsgraph/intern/depsgraph_build_relations.cc +++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cc @@ -115,7 +115,8 @@ RNAPathKey::RNAPathKey(ID *id, const string &path) : PointerRNA id_ptr; RNA_id_pointer_create(id, &id_ptr); /* try to resolve path... */ - if (!RNA_path_resolve(&id_ptr, path.c_str(), &this->ptr, &this->prop)) { + int index; + if (!RNA_path_resolve_full(&id_ptr, path.c_str(), &this->ptr, &this->prop, &index)) { this->ptr = PointerRNA_NULL; this->prop = NULL; } -- cgit v1.2.3