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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-01-30 23:35:37 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-30 23:35:37 +0300
commit1e1c1930920b48fe319f42118e46b003b80d01cf (patch)
tree8e7a0a24d472930e657967190d612e4e570ba840 /source/blender/makesdna/DNA_scene_types.h
parenta7b0df894ee5dbb6b0c3182f54b63587cdc0ce90 (diff)
Sculpt:
* Brought back axis locking * Fixed flipping stroke add/sub with shift key at start of stroke * Fixed a crash in stroke exec
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 9194e4d2632..ac3f7e69399 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -812,16 +812,18 @@ typedef struct Scene {
#define FFMPEG_MULTIPLEX_AUDIO 1
#define FFMPEG_AUTOSPLIT_OUTPUT 2
-/* SculptData.flags */
-#define SCULPT_SYMM_X 1
-#define SCULPT_SYMM_Y 2
-#define SCULPT_SYMM_Z 4
-#define SCULPT_INPUT_SMOOTH 8
-#define SCULPT_DRAW_FAST 16
-#define SCULPT_DRAW_BRUSH 32
-#define SCULPT_LOCK_X 64
-#define SCULPT_LOCK_Y 128
-#define SCULPT_LOCK_Z 256
+/* Sculpt.flags */
+typedef enum SculptFlags {
+ SCULPT_SYMM_X = 1,
+ SCULPT_SYMM_Y = 2,
+ SCULPT_SYMM_Z = 4,
+ SCULPT_INPUT_SMOOTH = 8,
+ SCULPT_DRAW_FAST = 16,
+ SCULPT_DRAW_BRUSH = 32,
+ SCULPT_LOCK_X = 64,
+ SCULPT_LOCK_Y = 128,
+ SCULPT_LOCK_Z = 256
+} SculptFlags;
/* toolsettings->imagepaint_flag */
#define IMAGEPAINT_DRAWING 1