Fix T65317: crash applying wave modifier with texture
This commit is contained in:
parent
a55d79ed25
commit
acab6f7175
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue