Depsgraph: Remove legacy updateDepgraph callbacks from modifiers
This commit is contained in:
@@ -1057,24 +1057,6 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
static void updateDepgraph(ModifierData *md, DagForest *forest,
|
||||
struct Main *UNUSED(bmain),
|
||||
struct Scene *UNUSED(scene),
|
||||
Object *UNUSED(ob),
|
||||
DagNode *obNode)
|
||||
{
|
||||
ScrewModifierData *ltmd = (ScrewModifierData *) md;
|
||||
|
||||
if (ltmd->ob_axis) {
|
||||
DagNode *curNode = dag_get_node(forest, ltmd->ob_axis);
|
||||
|
||||
dag_add_relation(forest, curNode, obNode,
|
||||
DAG_RL_DATA_DATA | DAG_RL_OB_DATA,
|
||||
"Screw Modifier");
|
||||
}
|
||||
}
|
||||
|
||||
static void updateDepsgraph(ModifierData *md,
|
||||
struct Main *UNUSED(bmain),
|
||||
struct Scene *UNUSED(scene),
|
||||
@@ -1118,7 +1100,6 @@ ModifierTypeInfo modifierType_Screw = {
|
||||
/* requiredDataMask */ NULL,
|
||||
/* freeData */ NULL,
|
||||
/* isDisabled */ NULL,
|
||||
/* updateDepgraph */ updateDepgraph,
|
||||
/* updateDepsgraph */ updateDepsgraph,
|
||||
/* dependsOnTime */ NULL,
|
||||
/* dependsOnNormals */ NULL,
|
||||
|
Reference in New Issue
Block a user