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@gmail.com>2019-05-31 19:01:51 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-31 19:17:20 +0300
commitacab6f717504a1e9c6d3010ca5c09e608d3c6312 (patch)
tree15eca29c5f85ab1bdd773bce4e764cc12e685267 /source/blender/modifiers/intern/MOD_wave.c
parenta55d79ed25b8152d04157c31f365027e4f6a6b9a (diff)
Fix T65317: crash applying wave modifier with texture
Diffstat (limited to 'source/blender/modifiers/intern/MOD_wave.c')
-rw-r--r--source/blender/modifiers/intern/MOD_wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_wave.c b/source/blender/modifiers/intern/MOD_wave.c
index d480f3416b1..908abeb6f76 100644
--- a/source/blender/modifiers/intern/MOD_wave.c
+++ b/source/blender/modifiers/intern/MOD_wave.c
@@ -265,7 +265,7 @@ static void waveModifier_do(WaveModifierData *md,
amplit = (float)(1.0f / expf(amplit * amplit) - minfac);
/*apply texture*/
- if (tex_target) {
+ if (tex_co) {
Scene *scene = DEG_get_evaluated_scene(ctx->depsgraph);
TexResult texres;
texres.nor = NULL;