From 08185d2af0b6851a37d56f7fa43dfcd22a30619b Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 7 Jan 2016 19:35:09 +0500 Subject: [PATCH] Fix T46723: Issue with linking to rigs running Blender in new depsgraph mode This isn't really ideal fix, but currently i can't tell how proxies should work with the new dependency graph. This backward links are crazy, non-threadsafe and mindblowing. Need to do some smarter/easier system. --- source/blender/depsgraph/intern/depsgraph_build_nodes.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/depsgraph/intern/depsgraph_build_nodes.cc b/source/blender/depsgraph/intern/depsgraph_build_nodes.cc index 87af9c8aceb..04b75f65c65 100644 --- a/source/blender/depsgraph/intern/depsgraph_build_nodes.cc +++ b/source/blender/depsgraph/intern/depsgraph_build_nodes.cc @@ -272,6 +272,7 @@ void DepsgraphNodeBuilder::build_scene(Main *bmain, Scene *scene) /* object that this is a proxy for */ // XXX: the way that proxies work needs to be completely reviewed! if (ob->proxy) { + ob->proxy->proxy_from = ob; build_object(scene, base, ob->proxy); }