Similar to previous commit, but for object constraints

This commit is contained in:
2017-02-27 16:19:52 +01:00
parent bf7006c15a
commit 691ffb60b9

View File

@@ -887,8 +887,12 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Main *bmain, Sc
if (obt->type == OB_MESH)
node2->customdata_mask |= CD_MASK_MDEFORMVERT;
}
else
else if (cti->type == CONSTRAINT_TYPE_SHRINKWRAP) {
dag_add_relation(dag, node2, node, DAG_RL_DATA_DATA | DAG_RL_OB_DATA, cti->name);
}
else {
dag_add_relation(dag, node2, node, DAG_RL_OB_OB, cti->name);
}
}
addtoroot = 0;
}