diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-04 20:14:03 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-04 20:14:03 +0400 |
commit | 0990e3a9a6e9b1fb89d8aaf2291372cc83278bbc (patch) | |
tree | 2c07c5b5b5e72ff8965220b8f85599d18d19984b | |
parent | 27a0b9bef31a1fa121c2229edab47eef78bad505 (diff) |
Fix #23003: setting particle number to 0 was not working correct,
committing patch #23119 by Jeroen Bakker to fix this, thanks!
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 95edfcfe803..9b9c3ff16b6 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -181,7 +181,7 @@ static void realloc_particles(ParticleSimulationData *sim, int new_totpart) else totpart=new_totpart; - if(totpart && totpart != psys->totpart) { + if(totpart != psys->totpart) { if(psys->edit && psys->free_edit) { psys->free_edit(psys->edit); psys->edit = NULL; |