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

@@ -1232,11 +1232,11 @@ void MeshManager::device_update_displacement_images(Device *device,
void MeshManager::device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress)
{
VLOG(1) << "Total " << scene->meshes.size() << " meshes.";
if(!need_update)
return;
VLOG(1) << "Total " << scene->meshes.size() << " meshes.";
/* update normals */
foreach(Mesh *mesh, scene->meshes) {
foreach(uint shader, mesh->used_shaders) {