Fix T46385: Duplicate w/ vertex parent fails

Depsgraph customdata flag was set on the parent,
then cleared once the parent object was handled.

This is initialized to zero for new nodes, no need to clear.
This commit is contained in:
Campbell Barton 2015-10-06 15:20:16 +11:00
parent 1cdf82d7f8
commit 541d28f1a3
Notes: blender-bot 2023-02-14 08:34:37 +01:00
Referenced by issue #46385, copying parent and vertex children when parent has constructive modifiers destroys children locations
1 changed files with 0 additions and 1 deletions

View File

@ -513,7 +513,6 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Main *bmain, Sc
}
/* also build a custom data mask for dependencies that need certain layers */
node->customdata_mask = 0;
if (ob->type == OB_ARMATURE) {
if (ob->pose) {