From 5eca59cf0d05fd8063eb83ad80b2caf9c5eacedc Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 10 Apr 2012 14:11:45 +0000 Subject: Fix #30882: using an image sequence in the displace modifier did not update properly in animation rendering. --- source/blender/modifiers/intern/MOD_weightvgmix.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_weightvgmix.c') diff --git a/source/blender/modifiers/intern/MOD_weightvgmix.c b/source/blender/modifiers/intern/MOD_weightvgmix.c index cf4f9b31a7f..b7bbc717981 100644 --- a/source/blender/modifiers/intern/MOD_weightvgmix.c +++ b/source/blender/modifiers/intern/MOD_weightvgmix.c @@ -370,8 +370,9 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, DerivedMesh *der /* Do masking. */ weightvg_do_mask(numIdx, indices, org_w, new_w, ob, dm, wmd->mask_constant, - wmd->mask_defgrp_name, wmd->mask_texture, wmd->mask_tex_use_channel, - wmd->mask_tex_mapping, wmd->mask_tex_map_obj, wmd->mask_tex_uvlayer_name); + wmd->mask_defgrp_name, wmd->modifier.scene, wmd->mask_texture, + wmd->mask_tex_use_channel, wmd->mask_tex_mapping, + wmd->mask_tex_map_obj, wmd->mask_tex_uvlayer_name); /* Update (add to) vgroup. * XXX Depending on the MOD_WVG_SET_xxx option chosen, we might have to add vertices to vgroup. -- cgit v1.2.3