Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-10 18:11:45 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-10 18:11:45 +0400
commit5eca59cf0d05fd8063eb83ad80b2caf9c5eacedc (patch)
treeebd47eec797e9dd6e93217054a37b0ce6541ddb6 /source/blender/modifiers/intern/MOD_wave.c
parent8adc27688597baf212adcab841b42e3e07bcb0bc (diff)
Fix #30882: using an image sequence in the displace modifier did not update
properly in animation rendering.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_wave.c')
-rw-r--r--source/blender/modifiers/intern/MOD_wave.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_wave.c b/source/blender/modifiers/intern/MOD_wave.c
index 87c0df3e12f..78e76e27c02 100644
--- a/source/blender/modifiers/intern/MOD_wave.c
+++ b/source/blender/modifiers/intern/MOD_wave.c
@@ -221,6 +221,8 @@ static void waveModifier_do(WaveModifierData *md,
tex_co = MEM_mallocN(sizeof(*tex_co) * numVerts,
"waveModifier_do tex_co");
get_texture_coords((MappingInfoModifierData *)wmd, ob, dm, vertexCos, tex_co, numVerts);
+
+ modifier_init_texture(wmd->modifier.scene, wmd->texture);
}
if (lifefac != 0.0f) {