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>2007-06-25 03:02:58 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2007-06-25 03:02:58 +0400
commitb7c8eb39ed1f77811b5050de490417bcb92969c1 (patch)
treec0581a2e2f5a21e4ee4fa4ddbc03bbb285519a26 /source/blender/makesdna/DNA_scene_types.h
parent8cf2d5ca4acb40459f6937f7b2c50e4fc42c22c7 (diff)
== Sculpt Mode ==
Removed the draw_flag field from SculptData, moved the two draw flags over to SculptData.flags
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 69a24826c22..4dc6403e605 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -390,16 +390,12 @@ typedef struct SculptData
char averaging;
char flags;
- char draw_flag;
-
/* Control tablet input */
char tablet_size, tablet_strength;
/* Symmetry is separate from the other BrushData because the same
settings are always used for all brush types */
char symm;
-
- char pad[7];
} SculptData;
typedef struct Scene {
@@ -608,21 +604,20 @@ typedef struct Scene {
/* SculptData.flags */
#define SCULPT_INPUT_SMOOTH 1
+#define SCULPT_DRAW_FAST 2
+#define SCULPT_DRAW_BRUSH 4
/* SculptData.brushtype */
-#define DRAW_BRUSH 1
-#define SMOOTH_BRUSH 2
-#define PINCH_BRUSH 3
+#define DRAW_BRUSH 1
+#define SMOOTH_BRUSH 2
+#define PINCH_BRUSH 3
#define INFLATE_BRUSH 4
-#define GRAB_BRUSH 5
-#define LAYER_BRUSH 6
+#define GRAB_BRUSH 5
+#define LAYER_BRUSH 6
#define FLATTEN_BRUSH 7
/* SculptData.texrept */
#define SCULPTREPT_DRAG 1
#define SCULPTREPT_TILE 2
#define SCULPTREPT_3D 3
-/* SculptData.draw_flag */
-#define SCULPTDRAW_FAST 1
-#define SCULPTDRAW_BRUSH 2
#define SYMM_X 1
#define SYMM_Y 2