Similar to previous commit, but for object constraints
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user