diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index f223e8d8681..49ce809ad6a 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -1112,9 +1112,9 @@ int psys_threads_init_distribution(ParticleThread *threads, DerivedMesh *finaldm } } else { - float step, pos; + double step, pos; - step= (totpart <= 1)? 0.5f: 1.0f/(totpart-1); + step= (totpart <= 1)? 0.5: 1.0/(totpart-1); pos= 0.0f; i= 0; |