Merge branch 'master' into blender2.8
[blender.git] / source / blender / modifiers / intern / MOD_boolean.c
index f86d8b99f3c20bced672086539712878248c7a63..6aadd10480ede220257445f702d3fabc3eea0eb7 100644 (file)
@@ -104,22 +104,6 @@ static void foreachObjectLink(
        walk(userData, ob, &bmd->object, IDWALK_CB_NOP);
 }
 
-static void updateDepgraph(ModifierData *md, DagForest *forest,
-                           struct Main *UNUSED(bmain),
-                           struct Scene *UNUSED(scene),
-                           Object *UNUSED(ob),
-                           DagNode *obNode)
-{
-       BooleanModifierData *bmd = (BooleanModifierData *) md;
-
-       if (bmd->object) {
-               DagNode *curNode = dag_get_node(forest, bmd->object);
-
-               dag_add_relation(forest, curNode, obNode,
-                                DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Boolean Modifier");
-       }
-}
-
 static void updateDepsgraph(ModifierData *md,
                             struct Main *UNUSED(bmain),
                             struct Scene *UNUSED(scene),
@@ -460,7 +444,6 @@ ModifierTypeInfo modifierType_Boolean = {
        /* requiredDataMask */  requiredDataMask,
        /* freeData */          NULL,
        /* isDisabled */        isDisabled,
-       /* updateDepgraph */    updateDepgraph,
        /* updateDepsgraph */   updateDepsgraph,
        /* dependsOnTime */     NULL,
        /* dependsOnNormals */  NULL,