Cleanup: compiler warnings

This commit is contained in:
Brecht Van Lommel
2020-06-24 17:08:01 +02:00
parent c78b831e69
commit b4e1571d0b
8 changed files with 27 additions and 57 deletions

View File

@@ -605,6 +605,10 @@ void ObjectManager::device_update_transforms(DeviceScene *dscene, Scene *scene,
}
});
if (progress.get_cancel()) {
return;
}
dscene->objects.copy_to_device();
if (state.need_motion == Scene::MOTION_PASS) {
dscene->object_motion_pass.copy_to_device();