From 6427141f7bb69b21272b8a97bd5d889ffbac740e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 21 Jun 2018 17:54:12 +0200 Subject: Modifiers: Stop using md->scene in isDisabled() callback This is first commit in series of changes to get rid of md->scene. --- source/blender/modifiers/intern/MOD_weightvgedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/modifiers/intern/MOD_weightvgedit.c') diff --git a/source/blender/modifiers/intern/MOD_weightvgedit.c b/source/blender/modifiers/intern/MOD_weightvgedit.c index 00bc8a05cee..b62422d9a33 100644 --- a/source/blender/modifiers/intern/MOD_weightvgedit.c +++ b/source/blender/modifiers/intern/MOD_weightvgedit.c @@ -147,7 +147,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte } } -static bool isDisabled(ModifierData *md, int UNUSED(useRenderParams)) +static bool isDisabled(const struct Scene *UNUSED(scene), ModifierData *md, int UNUSED(useRenderParams)) { WeightVGEditModifierData *wmd = (WeightVGEditModifierData *) md; /* If no vertex group, bypass. */ -- cgit v1.2.3