[Bf-codereview] File output and image node improvements for arbitrary layer access (issue 6199059)
brechtvanlommel at gmail.com
brechtvanlommel at gmail.com
Thu May 10 14:01:23 CEST 2012
Except for two nitpicks, LGTM.
http://codereview.appspot.com/6199059/diff/1/source/blender/imbuf/intern/openexr/openexr_api.cpp
File source/blender/imbuf/intern/openexr/openexr_api.cpp (right):
http://codereview.appspot.com/6199059/diff/1/source/blender/imbuf/intern/openexr/openexr_api.cpp#newcode730
source/blender/imbuf/intern/openexr/openexr_api.cpp:730: *token =
end-len;
Seems like this could use strchr(str, '.'), but probably it only saves
on or two lines.
http://codereview.appspot.com/6199059/diff/1/source/blender/makesdna/DNA_node_types.h
File source/blender/makesdna/DNA_node_types.h (right):
http://codereview.appspot.com/6199059/diff/1/source/blender/makesdna/DNA_node_types.h#newcode383
source/blender/makesdna/DNA_node_types.h:383: char exr_layer[30]; /*
EXR_TOT_MAXNAME-2 ('.' and channel char are appended) */
I'd remove the exr_ prefix here. It's only used for OpenEXR now, but
maybe in the future some other file formats may be supported.
http://codereview.appspot.com/6199059/
More information about the Bf-codereview
mailing list