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:
authorTon Roosendaal <ton@blender.org>2003-06-27 19:29:36 +0400
committerTon Roosendaal <ton@blender.org>2003-06-27 19:29:36 +0400
commit1323315937a22c7847d420a4058580e0395598f5 (patch)
treebd5357ffed4e222c0705f1bd97d0994aab8ebc64 /source/blender/makesdna/DNA_screen_types.h
parent6a3f419142f441c1238efd9cc1704e9903cd1e9e (diff)
- associated .h file change for previous commit (bug #152).
plus added a warning in screen_types.h. Some wierd person thinks ENUM is nice? It's dangerous! ;-)
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 2eb315e9f98..f5ab3fb49fe 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -128,6 +128,8 @@ typedef struct ScrArea {
#define B_SCROLL 8
#define HOR_SCROLL 12
+/* dunno who thought this below is nice code, but be warned, the values are written in
+ a file, and cannot be switched or altered. enum here is out of focus (ton) */
enum {
SPACE_EMPTY,
SPACE_VIEW3D,