diff options
-rw-r--r-- | source/blender/imbuf/IMB_imbuf_types.h | 3 | ||||
-rw-r--r-- | source/blender/src/toets.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index bba9875cd85..70ff5f14269 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -66,6 +66,8 @@ struct Mdec; * to source/blender/blenpluginapi/iff.h too, OTHERWISE PLUGINS WON'T * WORK CORRECTLY! * + * Also; add new variables to the end to save pain! + * * Also, that iff.h needs to be in the final release "plugins/include" dir, too! */ typedef struct ImBuf{ @@ -80,7 +82,6 @@ typedef struct ImBuf{ int ftype; /**< File type */ unsigned int *cmap; /**< Color map data. */ unsigned int *rect; /**< databuffer */ - float *rect_float; /**< databuffer in Float format, unclampled !! */ unsigned int **planes; /**< bitplanes */ int flags; /**< Controls which components should exist. */ int mall; /**< what is malloced internal, and can be freed */ diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index 99abb1db468..72bfe0e1ee7 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -174,7 +174,7 @@ void schrijfplaatje(char *name) if(ibuf) { ibuf->rect= (unsigned int *) R.rectot; - ibuf->rect_float = R.rectftot; +// ibuf->rect_float = R.rectftot; if(R.r.planes == 8) IMB_cspace(ibuf, rgb_to_bw); |