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:
authorCampbell Barton <ideasman42@gmail.com>2008-04-15 01:37:23 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-15 01:37:23 +0400
commit815791920f1f6172a1bf904351713c8a355da62d (patch)
tree474eae2bbe267dcdc6fe46878522b62438eda418 /source/blender/makesdna
parent566053319a47119bf718154f800659f9f0b86472 (diff)
terrain sculpting enhancements, axis locking and brush strength multiply by grid
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index e5056e048ce..ed0ae803a0a 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -496,7 +496,8 @@ typedef struct SculptData
/* Added to store if the 'Rake' setting has been set */
char rake;
- char pad[3];
+ char axislock;
+ char pad[2];
} SculptData;
typedef struct Scene {
@@ -772,6 +773,10 @@ typedef struct Scene {
#define SYMM_Y 2
#define SYMM_Z 4
+#define AXISLOCK_X 1
+#define AXISLOCK_Y 2
+#define AXISLOCK_Z 4
+
/* toolsettings->imagepaint_flag */
#define IMAGEPAINT_DRAWING 1
#define IMAGEPAINT_DRAW_TOOL 2