Fix [#36530] Texture tab refreshing problem
[blender-staging.git] / source / blender / makesdna / DNA_space_types.h
index 3e1196fb45aea2aa697609acf24a911c3a6b5273..5c308083f3cadc16412cf5b5225c4007633a1992 100644 (file)
@@ -132,8 +132,9 @@ typedef struct SpaceButs {
        short mainb, mainbo, mainbuser; /* context tabs */
        short re_align, align;          /* align for panels */
        short preview;                  /* preview is signal to refresh */
-       short texture_context;          /* texture context selector (material, world, brush)*/
-       char flag, pad;
+       /* texture context selector (material, lamp, particles, world, other)*/
+       short texture_context, texture_context_prev;
+       char flag, pad[7];
        
        void *path;                     /* runtime */
        int pathflag, dataicon;         /* runtime */