Fix T65317: crash applying wave modifier with texture

This commit is contained in:
Brecht Van Lommel 2019-05-31 18:01:51 +02:00
parent a55d79ed25
commit acab6f7175
1 changed files with 1 additions and 1 deletions

View File

@ -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;