fix for RNA ranges exceeding the range of the type (INT_MAX used on short's for eg).
[blender.git] / source / blender / makesdna / DNA_image_types.h
index b58bd259983786c9fcdf582fab3ad25c0cc0ed06..3df3c8b41c61c5176bced27aee8873967f3bf8b3 100644 (file)
@@ -44,17 +44,20 @@ struct GPUTexture;
 /* ImageUser is in Texture, in Nodes, Background Image, Image Window, .... */
 /* should be used in conjunction with an ID * to Image. */
 typedef struct ImageUser {
+       struct Scene *scene;            /* to retrieve render result */
+
        int framenr;                            /* movies, sequences: current to display */
        int frames;                                     /* total amount of frames to use */
        int offset, sfra;                       /* offset within movie, start frame in global time */
-       short fie_ima, cycl;            /* fields/image in movie, cyclic flag */
-       short flag, ok;
-       
+       char fie_ima, cycl;             /* fields/image in movie, cyclic flag */
+       char ok, pad;
+
        short multi_index, layer, pass;  /* listbase indices, for menu browsing or retrieve buffer */
-       /* short menunr; */                                     /* localized menu entry, for handling browse event */
-       short pad;
 
-       struct Scene *scene;            /* to retrieve render result */
+       short flag;
+       
+       int pad2;
+
 } ImageUser;
 
 /* iuser->flag */