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-01-14 07:55:51 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-14 07:55:51 +0300
commite835a0ea554f2a49344dfb3014634974b67cdc18 (patch)
treebdb1ecfab2cf8b8f9216897305159d602fb62f0b /source/blender/makesdna
parent8903169218de302bb0cb8d4607d450b431069dc6 (diff)
Removed draw_mode from SculptData, replaced with draw_flag, which currently controls whether to use partial redraw and whether to draw the brush circle. Added new menu option for display of brush circle.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 158c0b438b2..762130812ea 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -381,7 +381,7 @@ typedef struct SculptData
char averaging;
- char draw_mode;
+ char draw_flag;
/* Control tablet input */
char tablet_size, tablet_strength;
@@ -391,10 +391,6 @@ typedef struct SculptData
char symm;
} SculptData;
-#define SCULPTREPT_DRAG 1
-#define SCULPTREPT_TILE 2
-#define SCULPTREPT_3D 3
-
typedef struct Scene {
ID id;
struct Object *camera;
@@ -598,13 +594,20 @@ typedef struct Scene {
#define FFMPEG_MULTIPLEX_AUDIO 1
#define FFMPEG_AUTOSPLIT_OUTPUT 2
-/* SculptData brushtype */
+/* SculptData.brushtype */
#define DRAW_BRUSH 1
#define SMOOTH_BRUSH 2
#define PINCH_BRUSH 3
#define INFLATE_BRUSH 4
#define GRAB_BRUSH 5
#define LAYER_BRUSH 6
+/* 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