diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-10-26 03:24:59 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-10-26 03:24:59 +0400 |
commit | 510c69368b7382aa55f3fae0dac9ee6aaadee7e5 (patch) | |
tree | 19a888d6283174b7e4a590f344a3730cecbe9c88 /release/scripts/startup/bl_ui/properties_render.py | |
parent | b4e7451cb0547ede96922ae97ee440f17e452332 (diff) |
New option for disabling the chaining of feature edges in the Parameter Editor mode.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index dc78e8904bd..04d3ecb120f 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -546,14 +546,16 @@ class RENDER_PT_freestyle_linestyle(RenderButtonsPanel, Panel): if linestyle.panel == "STROKES": # Chaining col = layout.column() - col.label(text="Chaining:") - col.prop(linestyle, "chaining", text="") + col.prop(linestyle, "use_chaining", text="Chaining:") + sub = col.column() + sub.enabled = linestyle.use_chaining + sub.prop(linestyle, "chaining", text="") if linestyle.chaining == "PLAIN": - col.prop(linestyle, "same_object") - elif linestyle.chaining == "SKETCHY": - sub = col.row() sub.prop(linestyle, "same_object") - sub.prop(linestyle, "rounds") + elif linestyle.chaining == "SKETCHY": + subsub = sub.row() + subsub.prop(linestyle, "same_object") + subsub.prop(linestyle, "rounds") # Splitting col = layout.column() col.label(text="Splitting:") |