Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-28 13:57:31 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-28 13:57:31 +0300
commita2372d43122ea5741acc897dc4cc067bc487791f (patch)
tree82827ece19a0029a76a7889f4e44db40ce41bb90 /source/blender/makesdna
parent47e8ea500433efa188d968fdb8060ee3e30a896e (diff)
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.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_space_types.h6
1 files changed, 3 insertions, 3 deletions
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