diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-25 20:19:00 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-25 20:19:00 +0400 |
commit | 6969c118de953db52656c5bf61b57ffaf282b352 (patch) | |
tree | 71b17ad59b41b82f9b9a5b30c9955b541b627cda /source | |
parent | 2a1fe1b0cbbb45cbec7d9864ad79b1b321880da0 (diff) |
Removed unused rect_float variable from imbuf structure. Was added for the
openEXR testing only. It broke sequence plugins...
Note: adding variables in end of Imbuf struct at least doesn't crash old
sequence plugins immediately. :)
Diffstat (limited to 'source')
-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); |