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-09-20 03:24:14 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-09-20 03:24:14 +0400
commit5582d9fac13123397297db54a0478a63a1b75194 (patch)
tree242143a9ab8e411858f0c2a67ebc28447a821721 /source/blender/makesdna/DNA_linestyle_types.h
parent81702789d15668f22b1cd173361b3f20fb1fea34 (diff)
Rearranged the organization of chaining options in line styles.
New there are only two chaining types: plain and sketchy. Both chaining types have the "same object" option. With this option enabled, only feature edges of the same object are chained. The sketchy chaining also has the "rounds" option to specify the number of rounds in a sketchy multiple touch. Also removed a temporary workaround (implemented by means of a custom chaining rule) for infinite straight lines, which has resulted in much cleaner strokes.
Diffstat (limited to 'source/blender/makesdna/DNA_linestyle_types.h')
-rw-r--r--source/blender/makesdna/DNA_linestyle_types.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_linestyle_types.h b/source/blender/makesdna/DNA_linestyle_types.h
index d3536da2336..6d1b60f1d83 100644
--- a/source/blender/makesdna/DNA_linestyle_types.h
+++ b/source/blender/makesdna/DNA_linestyle_types.h
@@ -323,9 +323,8 @@ typedef struct LineStyleThicknessModifier_Calligraphy {
#define LS_MAX_2D_LENGTH 32
/* FreestyleLineStyle::chaining */
-#define LS_CHAINING_NATURAL 1
-#define LS_CHAINING_SKETCHY_TOPOLOGY_PRESERVED 2
-#define LS_CHAINING_SKETCHY_TOPOLOGY_BROKEN 3
+#define LS_CHAINING_PLAIN 1
+#define LS_CHAINING_SKETCHY 2
/* FreestyleLineStyle::caps */
#define LS_CAPS_BUTT 1