Depsgraph: Remove legacy updateDepgraph callbacks from modifiers
This commit is contained in:
@@ -293,18 +293,6 @@ static void foreachObjectLink(
|
||||
walk(userData, ob, &smd->origin, IDWALK_NOP);
|
||||
}
|
||||
|
||||
static void updateDepgraph(ModifierData *md, DagForest *forest,
|
||||
struct Main *UNUSED(bmain),
|
||||
struct Scene *UNUSED(scene),
|
||||
Object *UNUSED(ob),
|
||||
DagNode *obNode)
|
||||
{
|
||||
SimpleDeformModifierData *smd = (SimpleDeformModifierData *)md;
|
||||
|
||||
if (smd->origin)
|
||||
dag_add_relation(forest, dag_get_node(forest, smd->origin), obNode, DAG_RL_OB_DATA, "SimpleDeform Modifier");
|
||||
}
|
||||
|
||||
static void updateDepsgraph(ModifierData *md,
|
||||
struct Main *UNUSED(bmain),
|
||||
struct Scene *UNUSED(scene),
|
||||
@@ -381,7 +369,6 @@ ModifierTypeInfo modifierType_SimpleDeform = {
|
||||
/* requiredDataMask */ requiredDataMask,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepgraph */ updateDepgraph,
|
||||
/* updateDepsgraph */ updateDepsgraph,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* dependsOnNormals */ NULL,
|
||||
|
Reference in New Issue
Block a user