diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-09-20 03:24:14 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-09-20 03:24:14 +0400 |
commit | 5582d9fac13123397297db54a0478a63a1b75194 (patch) | |
tree | 242143a9ab8e411858f0c2a67ebc28447a821721 /release/scripts/startup/bl_ui/properties_render.py | |
parent | 81702789d15668f22b1cd173361b3f20fb1fea34 (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 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 8d72fc95cf1..b2b30e87090 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -515,12 +515,12 @@ class RENDER_PT_freestyle_linestyle(RenderButtonsPanel, Panel): col = layout.column() col.label(text="Chaining:") col.prop(linestyle, "chaining", text="") - if linestyle.chaining == "NATURAL": + if linestyle.chaining == "PLAIN": col.prop(linestyle, "same_object") - elif linestyle.chaining == "SKETCHY_TOPOLOGY_PRESERVED": - col.prop(linestyle, "rounds") - elif linestyle.chaining == "SKETCHY_TOPOLOGY_BROKEN": - col.prop(linestyle, "rounds") + elif linestyle.chaining == "SKETCHY": + sub = col.row() + sub.prop(linestyle, "same_object") + sub.prop(linestyle, "rounds") # Splitting col = layout.column() col.label(text="Splitting:") |