fix/workaround [#28040] float images reduced to 256 levels per channel upon save
authorCampbell Barton <ideasman42@gmail.com>
Thu, 21 Jul 2011 00:41:00 +0000 (00:41 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 21 Jul 2011 00:41:00 +0000 (00:41 +0000)
commit28780342eddb0e1e767bf64d69cb99bd138d621f
treeb73aa42e1796a9e3803736ced4994cbe65f900ef
parent76e91d7a5f8c253543bd1c938c8e74872d7a6c81
fix/workaround [#28040] float images reduced to 256 levels per channel upon save

Generated images would not be re-generated with a float buffer on load, even when selected on creation.
Now save the float buffer setting as a generated image flag.

This means you can enable before baking to enable baking to a float buffer.
source/blender/blenkernel/intern/image.c
source/blender/editors/space_image/image_buttons.c
source/blender/makesdna/DNA_image_types.h
source/blender/makesrna/intern/rna_image.c