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:
authorMartin Poirier <theeth@yahoo.com>2007-11-09 01:03:04 +0300
committerMartin Poirier <theeth@yahoo.com>2007-11-09 01:03:04 +0300
commiteeb9e1486d6babb9c64bcaa0b29236def05d9f95 (patch)
tree0fa603b8e80c0f2e6a40e918fd69dcbfdbd412ca /source/blender/makesdna/DNA_scene_types.h
parente7c4bad8e929fd690aed9c652157eb3c8688c850 (diff)
Still nothing to see here <shifty eyes>
This fixes up angle based subdivisions, adds embedding post processing methods (before, only average was there, added smooth and sharpen). More parameters are controllable through the UI.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 011e6e9a3c1..c76d9a20b52 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -367,11 +367,13 @@ typedef struct ToolSettings {
short skgen_resolution;
float skgen_threshold_internal;
float skgen_threshold_external;
- float skgen_threshold_length;
- float skgen_threshold_angle;
+ float skgen_length_ratio;
+ float skgen_length_limit;
+ float skgen_angle_limit;
short skgen_options;
+ char skgen_postpro;
- char pad4[6];
+ char pad4[1];
} ToolSettings;
/* Used by all brushes to store their properties, which can be directly set
@@ -680,7 +682,12 @@ typedef struct Scene {
#define SKGEN_SYMMETRY 8
#define SKGEN_CUT_LENGTH 16
#define SKGEN_CUT_ANGLE 32
-#define SKGEN_SMOOTH 64
+
+/* toolsettings->skgen_postpro */
+#define SKGEN_NONE 0
+#define SKGEN_SMOOTH 1
+#define SKGEN_AVERAGE 2
+#define SKGEN_SHARPEN 3
#ifdef __cplusplus
}