Cycles fix: don't skip particle device update when there are no particle systems...
authorLukas Toenne <lukas.toenne@googlemail.com>
Sat, 1 Sep 2012 11:30:19 +0000 (11:30 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Sat, 1 Sep 2012 11:30:19 +0000 (11:30 +0000)
intern/cycles/render/particles.cpp

index 5ddd1e6c798882f440d939c299d13593c207a281..9f951d9673f9d24fbe7c165377c01d8cefdbabf4 100644 (file)
@@ -100,9 +100,6 @@ void ParticleSystemManager::device_update(Device *device, DeviceScene *dscene, S
        
        device_free(device, dscene);
 
-       if(scene->particle_systems.size() == 0)
-               return;
-
        progress.set_status("Updating Particle Systems", "Copying Particles to device");
        device_update_particles(device, dscene, scene, progress);