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_mirror.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/modifiers/intern/MOD_mirror.c') diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c index 7a7308639f5..5285bc4124d 100644 --- a/source/blender/modifiers/intern/MOD_mirror.c +++ b/source/blender/modifiers/intern/MOD_mirror.c @@ -73,6 +73,7 @@ static void foreachObjectLink(ModifierData *md, Object *ob, } static void updateDepgraph(ModifierData *md, DagForest *forest, + struct Main *UNUSED(bmain), struct Scene *UNUSED(scene), Object *UNUSED(ob), DagNode *obNode) -- cgit v1.2.3