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:
authorDaniel Dunbar <daniel@zuster.org>2005-07-23 11:45:39 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-23 11:45:39 +0400
commit32255b65df00897ea9f5ec960eec0040edd946be (patch)
treefac29f661ca0baab417003ab99a1660d364dee77 /source/blender/blenkernel/BKE_global.h
parente125ed59586d8600135e2a3eb96a133b9f66b44d (diff)
- added DerivedMesh.drawMapped{VertNormals,FaceNormals,FaceCenters}EM
functions and implementation for EditmeshDerivedMesh - switch drawobject to drawing normals/centers through the DerivedMesh - added G_DRAW_VNORMALS flag and button, implementation is not yet complete because editmesh normals are not updated regularly - switch editmesh draw buttons to use uiDefButBit (can't we get some monkey to convert all of the uiDefBut calls with TOG|BIT type? It makes grepping the source much nicer)
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
-rw-r--r--source/blender/blenkernel/BKE_global.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h
index 24b555e3cce..fff57d969b3 100644
--- a/source/blender/blenkernel/BKE_global.h
+++ b/source/blender/blenkernel/BKE_global.h
@@ -140,35 +140,35 @@ typedef struct Global {
/* **************** GLOBAL ********************* */
/* G.f */
-#define G_DISABLE_OK 1
-#define G_PLAYANIM 2
-#define G_TEST_DUPLI 4
-#define G_SIMULATION 8
-#define G_BACKBUFSEL 16
-#define G_PICKSEL 32
-#define G_DRAWNORMALS 64
-#define G_DRAWFACES 128
-#define G_FACESELECT 256
-#define G_DRAW_EXT 512
-#define G_VERTEXPAINT 1024
-#define G_ALLEDGES 2048
-#define G_DEBUG 4096
+#define G_DISABLE_OK (1 << 0)
+#define G_PLAYANIM (1 << 1)
+#define G_TEST_DUPLI (1 << 2)
+#define G_SIMULATION (1 << 3)
+#define G_BACKBUFSEL (1 << 4)
+#define G_PICKSEL (1 << 5)
+#define G_DRAWNORMALS (1 << 6)
+#define G_DRAWFACES (1 << 7)
+#define G_FACESELECT (1 << 8)
+#define G_DRAW_EXT (1 << 9)
+#define G_VERTEXPAINT (1 << 10)
+#define G_ALLEDGES (1 << 11)
+#define G_DEBUG (1 << 12)
#define G_DOSCRIPTLINKS (1 << 13)
-/* #define G_PROPORTIONAL 16384 removed! so can be used later for other stuff */
-#define G_WEIGHTPAINT 32768
-#define G_TEXTUREPAINT 65536
+#define G_DRAW_VNORMALS (1 << 14)
+#define G_WEIGHTPAINT (1 << 15)
+#define G_TEXTUREPAINT (1 << 16)
/* #define G_NOFROZEN (1 << 17) also removed */
-#define G_DRAWEDGES (1 << 18)
+#define G_DRAWEDGES (1 << 18)
#define G_DRAWCREASES (1 << 19)
#define G_DRAWSEAMS (1 << 20)
#define G_HIDDENEDGES (1 << 21)
/* Measurement info Drawing */
-#define G_DRAW_EDGELEN (1 << 22)
+#define G_DRAW_EDGELEN (1 << 22)
#define G_DRAW_FACEAREA (1 << 23)
#define G_DRAW_EDGEANG (1 << 24)
-#define G_RECORDKEYS (1 << 25)
+#define G_RECORDKEYS (1 << 25)
/* G.fileflags */