Cleanup: remove unnecessary NULL check

This commit is contained in:
Campbell Barton 2022-08-23 12:18:01 +10:00
parent ee60aa9d01
commit 7694678025
1 changed files with 2 additions and 4 deletions

View File

@ -158,10 +158,8 @@ static void do_kink_spiral(ParticleThreadContext *ctx,
int start_index = 0, end_index = 0;
float kink_base[3];
if (ptex) {
kink_amp *= ptex->kink_amp;
kink_freq *= ptex->kink_freq;
}
kink_amp *= ptex->kink_amp;
kink_freq *= ptex->kink_freq;
cut_time = (totkeys - 1) * ptex->length;
zero_v3(spiral_start);