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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-12-12 03:41:15 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-12-12 03:41:15 +0400
commit32db495e501e8d36718f50b79bbebad4dbb67d33 (patch)
tree10cbb93885cf4e62f2138cce81dff943c6af8edf /source/blender/makesdna/DNA_linestyle_types.h
parent8a182d41b18b739c8b03c2961a2e79ca6d83049c (diff)
Updates on the Parameter Editor mode:
* Added a new chain splitting option for dividing chains into pieces having a given curvilinear 2D length. * Rearranged the UI controls of chain splitting options according to the actual order of processing. * Made changes for converting each view edge into a chain in the case of not using chaining.
Diffstat (limited to 'source/blender/makesdna/DNA_linestyle_types.h')
-rw-r--r--source/blender/makesdna/DNA_linestyle_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_linestyle_types.h b/source/blender/makesdna/DNA_linestyle_types.h
index aa28ecac77d..4ae3183e454 100644
--- a/source/blender/makesdna/DNA_linestyle_types.h
+++ b/source/blender/makesdna/DNA_linestyle_types.h
@@ -360,6 +360,7 @@ typedef struct LineStyleThicknessModifier_Calligraphy {
#define LS_NO_CHAINING 64
#define LS_MIN_2D_ANGLE 128
#define LS_MAX_2D_ANGLE 256
+#define LS_SPLIT_LENGTH 512
/* FreestyleLineStyle::chaining */
#define LS_CHAINING_PLAIN 1
@@ -379,11 +380,11 @@ typedef struct FreestyleLineStyle {
int flag, caps;
int chaining;
unsigned int rounds;
+ float split_length;
float min_angle, max_angle; /* for splitting */
float min_length, max_length;
unsigned short dash1, gap1, dash2, gap2, dash3, gap3;
int panel; /* for UI */
- int pad1;
ListBase color_modifiers;
ListBase alpha_modifiers;