fix for [#17972] Saving/Loading Radiance HDR changes colors
authorCampbell Barton <ideasman42@gmail.com>
Tue, 17 Feb 2009 04:32:49 +0000 (04:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 17 Feb 2009 04:32:49 +0000 (04:32 +0000)
commitdef36ce180d740f48c27fe6994a67fc85b3305b0
tree51cdd198efc62bdffce72be8dcf2dfba8b48e6e6
parente5a5399c33738c297946b7d89a26b657531f8843
fix for  [#17972] Saving/Loading Radiance HDR changes colors
removed HDR loop that loaded 8bit color channels (which was incorrect)
and added a call to IMB_rect_from_float at the end.

This also means that char buffers wont be created if they are not needed.
source/blender/imbuf/intern/radiance_hdr.c