diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-19 03:57:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-19 04:24:24 +0300 |
commit | ad7455cd14bc5679ae1333b56beccaf6b1eceff9 (patch) | |
tree | a071b7104f042938767c2256c8e0e9328525bb63 /source/blender/blenkernel/intern | |
parent | 83883ae66ad3231840d483ff091727b33d2f355b (diff) |
Cleanup: remove unused MTex.pmapto, pmaptoneg & defines
These have not been in use since 2.57
fafbd9d71b95776d1c7583476de74fccefab7f10.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index db1fbb56125..f2f3c5d4ca6 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -4418,12 +4418,12 @@ void psys_get_texture( if ((event & mtex->mapto) & PAMAP_TIME) { /* the first time has to set the base value for time regardless of blend mode */ - if ((setvars & MAP_PA_TIME) == 0) { + if ((setvars & PAMAP_TIME) == 0) { int flip = (mtex->timefac < 0.0f); float timefac = fabsf(mtex->timefac); ptex->time *= 1.0f - timefac; ptex->time += timefac * ((flip) ? 1.0f - value : value); - setvars |= MAP_PA_TIME; + setvars |= PAMAP_TIME; } else { ptex->time = texture_value_blend(def, ptex->time, value, mtex->timefac, blend); |