Cycles: Reduce verbosity of logging

Mainly makes logging less verbose when doing progressive sampling in viewport.

Such kind of verbosity is not really possible to be filtered out with `grep`
so let's reshuffle few lines of code.
This commit is contained in:
Sergey Sharybin
2016-04-22 10:55:26 +02:00
parent 31632e7f74
commit d2cb0f955b
9 changed files with 35 additions and 22 deletions

View File

@@ -480,11 +480,11 @@ void ObjectManager::device_update_transforms(Device *device,
void ObjectManager::device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress)
{
VLOG(1) << "Total " << scene->objects.size() << " objects.";
if(!need_update)
return;
VLOG(1) << "Total " << scene->objects.size() << " objects.";
device_free(device, dscene);
if(scene->objects.size() == 0)