diff options
author | Martin Poirier <theeth@yahoo.com> | 2007-11-09 01:03:04 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2007-11-09 01:03:04 +0300 |
commit | eeb9e1486d6babb9c64bcaa0b29236def05d9f95 (patch) | |
tree | 0fa603b8e80c0f2e6a40e918fd69dcbfdbd412ca /source/blender/makesdna | |
parent | e7c4bad8e929fd690aed9c652157eb3c8688c850 (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')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 15 |
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 } |