From aa4cb95a5c8569704f166cfd6d8f65606502ea40 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 13 Mar 2015 11:48:04 +0500 Subject: 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. --- source/blender/modifiers/intern/MOD_dynamicpaint.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/modifiers/intern/MOD_dynamicpaint.c') diff --git a/source/blender/modifiers/intern/MOD_dynamicpaint.c b/source/blender/modifiers/intern/MOD_dynamicpaint.c index 5236365da70..c6999468dc3 100644 --- a/source/blender/modifiers/intern/MOD_dynamicpaint.c +++ b/source/blender/modifiers/intern/MOD_dynamicpaint.c @@ -112,6 +112,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, } static void updateDepgraph(ModifierData *md, DagForest *forest, + struct Main *UNUSED(bmain), struct Scene *scene, Object *ob, DagNode *obNode) -- cgit v1.2.3