[Bf-blender-cvs] [08185d2] master: Fix T46723: Issue with linking to rigs running Blender in new depsgraph mode

Sergey Sharybin noreply at git.blender.org
Thu Jan 7 16:06:21 CET 2016


Commit: 08185d2af0b6851a37d56f7fa43dfcd22a30619b
Author: Sergey Sharybin
Date:   Thu Jan 7 19:35:09 2016 +0500
Branches: master
https://developer.blender.org/rB08185d2af0b6851a37d56f7fa43dfcd22a30619b

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.

===================================================================

M	source/blender/depsgraph/intern/depsgraph_build_nodes.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/depsgraph_build_nodes.cc b/source/blender/depsgraph/intern/depsgraph_build_nodes.cc
index 87af9c8..04b75f6 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);
 		}




More information about the Bf-blender-cvs mailing list