Pass proper bmain to the updateDepgraph() of modifiers
This is mainly to make physics modifiers being able to work with it. For other cases this main is not needed.
This commit is contained in:
@@ -92,6 +92,7 @@ static void foreachObjectLink(
|
||||
}
|
||||
|
||||
static void updateDepgraph(ModifierData *md, DagForest *forest,
|
||||
struct Main *UNUSED(bmain),
|
||||
struct Scene *UNUSED(scene),
|
||||
Object *UNUSED(ob),
|
||||
DagNode *obNode)
|
||||
|
Reference in New Issue
Block a user