diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-11-14 00:20:50 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-11-14 00:20:50 +0400 |
commit | 99f7f3ac81c3854e131562c660183bdf5279dc38 (patch) | |
tree | 43cdd319fa819910347221a336e118ea16e5d9e9 /release/scripts/startup/bl_ui/properties_render.py | |
parent | 43c74f768b41551127d2952d398cee40703b28a5 (diff) |
Added new options for splitting chains of feature edges by a minimum
and maximum 2D angle.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 1aa3df152a7..868287b5fa0 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -588,7 +588,18 @@ class RENDER_PT_freestyle_linestyle(RenderButtonsPanel, Panel): # Splitting col = layout.column() col.label(text="Splitting:") - row = col.row(align=True) + sub = col.row() + subcol = sub.column() + subcol.prop(linestyle, "use_min_angle", text="Min Angle") + subsub = subcol.split() + subsub.prop(linestyle, "min_angle", text="") + subsub.enabled = linestyle.use_min_angle + subcol = sub.column() + subcol.prop(linestyle, "use_max_angle", text="Max Angle") + subsub = subcol.split() + subsub.prop(linestyle, "max_angle", text="") + subsub.enabled = linestyle.use_max_angle + row = col.row() row.prop(linestyle, "material_boundary") # Selection col = layout.column() |