From a2372d43122ea5741acc897dc4cc067bc487791f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 28 Jan 2010 10:57:31 +0000 Subject: Properties window: try to keep showing shading related tabs as you switch between active objects, e.g. switch from lamp to material tab when you are selecting a lamp instead of a mesh. --- source/blender/makesdna/DNA_space_types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 01b03477dbf..f7b7584a731 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -126,8 +126,8 @@ typedef struct SpaceButs { short preview; /* preview is signal to refresh */ char flag, pad[3]; - void *path; /* runtime */ - int pathflag, dataicon; /* runtime */ + void *path; /* runtime */ + int pathflag, dataicon; /* runtime */ ID *pinid; } SpaceButs; @@ -577,7 +577,6 @@ typedef struct SpaceUserPref { #define TAB_SCENE_SOUND 3 #define TAB_SCENE_SEQUENCER 4 - /* buts->mainb new */ #define BCONTEXT_RENDER 0 #define BCONTEXT_SCENE 1 @@ -599,6 +598,7 @@ typedef struct SpaceUserPref { #define SB_PIN_CONTEXT 2 #define SB_WORLD_TEX 4 #define SB_BRUSH_TEX 8 +#define SB_SHADING_CONTEXT 16 /* sbuts->align */ #define BUT_FREE 0 -- cgit v1.2.3