diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-15 12:24:59 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-15 12:24:59 +0300 |
commit | a52b4378b294703a359a51a9e6bf6a33805c4d6d (patch) | |
tree | 6c57a4e46ea6345621dc9ac151b37ade520d0c13 /intern/cycles/blender | |
parent | 3fcbb2bb58df3f580cb2cef39f9e62cc7df82fc6 (diff) |
Cycles: Improve error print a bit
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/blender_session.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_session.cpp b/intern/cycles/blender/blender_session.cpp index fc94393bd60..f8a0f07b6f8 100644 --- a/intern/cycles/blender/blender_session.cpp +++ b/intern/cycles/blender/blender_session.cpp @@ -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; } |