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-07 03:28:45 +0300
committerMartin Poirier <theeth@yahoo.com>2007-11-07 03:28:45 +0300
commitec13425eab373e23ced76df7de732446ae363519 (patch)
tree3846cd91308d4bef60f4747d80e85ef8c1acfc4f /source/blender/makesdna/DNA_scene_types.h
parent0de103c1cdf1e4c40cfad4e233a42a6d1165953d (diff)
Initial commit for Harmonic Skeleton generation.
This is very much a work in progress commit to allow me to work outside of home. While it does somewhat work, I wouldn't recommend anyone to use it.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 031a88c517a..22bdc04f89c 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -345,7 +345,7 @@ typedef struct ToolSettings {
short uvcalc_flag;
short pad2;
-
+
/* Image Paint (8 byte aligned please!) */
struct ImagePaintSettings imapaint;
@@ -363,7 +363,15 @@ typedef struct ToolSettings {
/* Multires */
char multires_subdiv_type;
- char pad4[2];
+ /* Skeleton generation */
+ short skgen_resolution;
+ float skgen_threshold_internal;
+ float skgen_threshold_external;
+ float skgen_threshold_length;
+ float skgen_threshold_angle;
+ short skgen_options;
+
+ char pad4[6];
} ToolSettings;
/* Used by all brushes to store their properties, which can be directly set
@@ -665,6 +673,14 @@ typedef struct Scene {
#define RETOPO_LINE 2
#define RETOPO_ELLIPSE 4
+/* toolsettings->skgen_options */
+#define SKGEN_FILTER_INTERNAL 1
+#define SKGEN_FILTER_EXTERNAL 2
+#define SKGEN_REPOSITION 4
+#define SKGEN_SYMMETRY 8
+#define SKGEN_CUT_LENGTH 16
+#define SKGEN_CUT_ANGLE 32
+
#ifdef __cplusplus
}
#endif