[Bf-blender-cvs] [bf7006c15a] master: Depsgraph: Shrinkwrap constraint actually depends on geometry
Sergey Sharybin
noreply at git.blender.org
Mon Feb 27 16:01:13 CET 2017
Commit: bf7006c15a085c381f109f1200f5a0483524dd9f
Author: Sergey Sharybin
Date: Mon Feb 27 16:00:39 2017 +0100
Branches: master
https://developer.blender.org/rBbf7006c15a085c381f109f1200f5a0483524dd9f
Depsgraph: Shrinkwrap constraint actually depends on geometry
===================================================================
M source/blender/blenkernel/intern/depsgraph.c
===================================================================
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 294a4ce76b..17021540fd 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -544,10 +544,16 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Main *bmain, Sc
if (ct->tar->type == OB_MESH)
node3->customdata_mask |= CD_MASK_MDEFORMVERT;
}
- else if (ELEM(con->type, CONSTRAINT_TYPE_FOLLOWPATH, CONSTRAINT_TYPE_CLAMPTO, CONSTRAINT_TYPE_SPLINEIK))
+ else if (ELEM(con->type, CONSTRAINT_TYPE_FOLLOWPATH,
+ CONSTRAINT_TYPE_CLAMPTO,
+ CONSTRAINT_TYPE_SPLINEIK,
+ CONSTRAINT_TYPE_SHRINKWRAP))
+ {
dag_add_relation(dag, node3, node, DAG_RL_DATA_DATA | DAG_RL_OB_DATA, cti->name);
- else
+ }
+ else {
dag_add_relation(dag, node3, node, DAG_RL_OB_DATA, cti->name);
+ }
}
}
More information about the Bf-blender-cvs
mailing list