Cycles: Fix wrong initialization order of mesh flags and object transform

This commit is contained in:
Sergey Sharybin 2016-03-31 17:54:03 +02:00
parent 185d002586
commit 9431fc6764
1 changed files with 4 additions and 4 deletions

View File

@ -167,13 +167,13 @@ void Scene::device_update(Device *device_, Progress& progress)
if(progress.get_cancel() || device->have_error()) return;
progress.set_status("Updating Objects");
object_manager->device_update(device, &dscene, this, progress);
progress.set_status("Updating Meshes Flags");
mesh_manager->device_update_flags(device, &dscene, this, progress);
if(progress.get_cancel() || device->have_error()) return;
progress.set_status("Updating Meshes Flags");
mesh_manager->device_update_flags(device, &dscene, this, progress);
progress.set_status("Updating Objects");
object_manager->device_update(device, &dscene, this, progress);
if(progress.get_cancel() || device->have_error()) return;