[Bf-blender-cvs] [82577a7] master: Depsgraph: Add missing relations between driver and particle settings
Sergey Sharybin
noreply at git.blender.org
Sun Jan 24 12:08:28 CET 2016
Commit: 82577a7d7b9b3e5b3207223d2064aa602f124999
Author: Sergey Sharybin
Date: Sun Jan 24 16:01:57 2016 +0500
Branches: master
https://developer.blender.org/rB82577a7d7b9b3e5b3207223d2064aa602f124999
Depsgraph: Add missing relations between driver and particle settings
While it's not really working reliably to drive something on runtime
it's handy to have such possibility to tune particle system using
proxies in the scene files.
Just another quick thing for the Nieve project.
===================================================================
M source/blender/blenkernel/intern/depsgraph.c
===================================================================
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index e313ad7..7f73e8f 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -764,6 +764,10 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Main *bmain, Sc
ListBase *effectors = NULL;
EffectorCache *eff;
+ if (part->adt) {
+ dag_add_driver_relation(part->adt, dag, node, 1);
+ }
+
dag_add_relation(dag, node, node, DAG_RL_OB_DATA, "Particle-Object Relation");
if (!psys_check_enabled(ob, psys))
More information about the Bf-blender-cvs
mailing list