Cycles fix: don't skip particle device update when there are no particle systems...
[blender.git] / 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);