Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-04 20:14:03 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-04 20:14:03 +0400
commit0990e3a9a6e9b1fb89d8aaf2291372cc83278bbc (patch)
tree2c07c5b5b5e72ff8965220b8f85599d18d19984b /source
parent27a0b9bef31a1fa121c2229edab47eef78bad505 (diff)
Fix #23003: setting particle number to 0 was not working correct,
committing patch #23119 by Jeroen Bakker to fix this, thanks!
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c2
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;