Remove "Loading byte/float" debug messages. They were added at the time
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 31 Jul 2012 15:28:36 +0000 (15:28 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 31 Jul 2012 15:28:36 +0000 (15:28 +0000)
we've been looking into texture limit for Mango and it's not needed now.

Anyway, this prints didn't cover all the cases when images were loading.

intern/cycles/render/image.cpp

index e2c760f0114c8adbf4b302c19e9f5d9752c42052..1af0972ecf9580317f9e8f0035b229d3d8810429 100644 (file)
@@ -235,8 +235,6 @@ bool ImageManager::file_load_image(Image *img, device_vector<uchar4>& tex_img)
                return false;
        }
 
-       printf("loading byte image: '%s' %dx%d\n", img->filename.c_str(), width, height);
-
        /* read RGBA pixels */
        uchar *pixels = (uchar*)tex_img.resize(width, height);
        int scanlinesize = width*components*sizeof(uchar);
@@ -299,8 +297,6 @@ bool ImageManager::file_load_float_image(Image *img, device_vector<float4>& tex_
                return false;
        }
 
-       printf("loading float image: '%s' %dx%d\n", img->filename.c_str(), width, height);
-
        /* read RGBA pixels */
        float *pixels = (float*)tex_img.resize(width, height);
        int scanlinesize = width*components*sizeof(float);