Fix compilation error with legacy depsgraph disabled
This commit is contained in:
parent
df04520602
commit
62b3522da2
|
@ -127,10 +127,7 @@ static void updateDepgraph(ModifierData *md, const ModifierUpdateDepsgraphContex
|
|||
dag_add_collision_relations(ctx->forest, ctx->scene, ctx->object, ctx->obNode, clmd->coll_parms->group, ctx->object->lay|ctx->scene->lay, eModifierType_Collision, NULL, true, "Cloth Collision");
|
||||
dag_add_forcefield_relations(ctx->forest, ctx->scene, ctx->object, ctx->obNode, clmd->sim_parms->effector_weights, true, 0, "Cloth Field");
|
||||
#else
|
||||
(void)forest;
|
||||
(void)scene;
|
||||
(void)ob;
|
||||
(void)obNode;
|
||||
(void)ctx;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -146,10 +146,7 @@ static void updateDepgraph(ModifierData *md, const ModifierUpdateDepsgraphContex
|
|||
dag_add_collision_relations(ctx->forest, ctx->scene, ctx->object, ctx->obNode, surface->brush_group, -1, eModifierType_DynamicPaint, is_brush_cb, false, "Dynamic Paint Brush");
|
||||
}
|
||||
#else
|
||||
(void)forest;
|
||||
(void)scene;
|
||||
(void)ob;
|
||||
(void)obNode;
|
||||
(void)ctx;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue