diff options
-rw-r--r-- | source/blender/editors/object/object_bake_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c index 97a507cc27b..ddf59590734 100644 --- a/source/blender/editors/object/object_bake_api.c +++ b/source/blender/editors/object/object_bake_api.c @@ -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) { |