forked from bartvdbraak/blender
Fix T61053: crash baking to float image after file save.
This is the wrong flag to check, no other code actually reads it.
This commit is contained in:
parent
56a633fd2c
commit
2c8bd1d8cb
@ -187,7 +187,7 @@ static bool write_internal_bake_pixels(
|
||||
RE_bake_mask_fill(pixel_array, num_pixels, mask_buffer);
|
||||
}
|
||||
|
||||
is_float = (ibuf->flags & IB_rectfloat);
|
||||
is_float = (ibuf->rect_float != NULL);
|
||||
|
||||
/* colormanagement conversions */
|
||||
if (!is_noncolor) {
|
||||
|
Loading…
Reference in New Issue
Block a user