Cycles: Improve error print a bit
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Apr 2016 09:24:59 +0000 (11:24 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Apr 2016 09:24:59 +0000 (11:24 +0200)
intern/cycles/blender/blender_session.cpp

index fc94393bd605f8b180efc026230cc121a59f342a..f8a0f07b6f801eefcb4693a352b216b82c0b7235 100644 (file)
@@ -1294,7 +1294,9 @@ bool BlenderSession::builtin_image_float_pixels(const string &builtin_name, void
                        }
                }
                else {
-                       fprintf(stderr, "Cycles error: unknown volume attribute, skipping\n");
+                       fprintf(stderr,
+                               "Cycles error: unknown volume attribute %s, skipping\n",
+                               builtin_name.c_str());
                        pixels[0] = 0.0f;
                        return false;
                }