Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-01-07 17:35:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-01-07 18:06:13 +0300
commit08185d2af0b6851a37d56f7fa43dfcd22a30619b (patch)
tree23b60b01cc191859116cd064d448ba65ed0a893f /source/blender/depsgraph
parent3ad1e4fab9816355cfcae1931528e85778281d7b (diff)
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.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_build_nodes.cc1
1 files changed, 1 insertions, 0 deletions
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);
}