From 1ea90994744cb95d83717bb7df972c693f9e9583 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 18 Feb 2006 14:35:43 +0000 Subject: - Restored "dither" option for conversion from float -> byte images. This now is a post-process option only (used to be in render). It is only handled within the Imbuf/ module, on conversions from float to byte rect, which atm mostly happens on saving images. - Small fix: when using Scene RenderLayer nodes, the speed vectors for these nodes were not created when that scene had "Do Composite" off. --- source/blender/imbuf/IMB_imbuf_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/imbuf/IMB_imbuf_types.h') diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index fe82b852eaa..db178841979 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -96,7 +96,8 @@ typedef struct ImBuf{ unsigned int encodedbuffersize; /**< Size of encodedbuffer */ float *rect_float; /**< floating point Rect equivilant */ - + float dither; /**< random dither value, for conversion from float -> byte rect */ + struct MEM_CacheLimiterHandle_s * c_handle; /**< handle for cache limiter */ int refcounter; /**< Refcounter for multiple users */ } ImBuf; -- cgit v1.2.3