diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-07-16 02:30:02 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-07-16 02:30:02 +0400 |
commit | 9d2a957a0d440b07d1a5e9e0ee5fb613d93637d9 (patch) | |
tree | 8ec98a81d94410e5900441d86c678ec6386e02e5 /release/scripts/startup | |
parent | 065605e0da8ecd7add39f159db624ae9063ec476 (diff) |
Sphere radius and Kr derivative epsilon (removed in revision 43902) were recovered in the Parameter Editor mode.
Several users requested the recovery as the removal of the two parameters was considered over-simplification for advanced users.
As in the Python Scripting mode, the two parameters are in the "advanced edge detection options" section and disabled by default.
Also the lower limit of Kr derivative epsilon was changed from 0 to -1000 so as to permit a negative value.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 139481c53a4..88845fa49e2 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -210,6 +210,14 @@ class RENDER_PT_freestyle(RenderButtonsPanel, Panel): col.label(text="Edge Detection Options:") col.prop(freestyle, "use_smoothness") col.prop(freestyle, "crease_angle") + if freestyle.mode == "SCRIPT": + col.prop(freestyle, "use_material_boundaries") + col.prop(freestyle, "use_ridges_and_valleys") + col.prop(freestyle, "use_suggestive_contours") + col.prop(freestyle, "use_advanced_options") + if freestyle.use_advanced_options: + col.prop(freestyle, "sphere_radius") + col.prop(freestyle, "kr_derivative_epsilon") if freestyle.mode == "EDITOR": @@ -235,13 +243,6 @@ class RENDER_PT_freestyle(RenderButtonsPanel, Panel): else: # freestyle.mode == "SCRIPT" - col.prop(freestyle, "use_material_boundaries") - col.prop(freestyle, "use_ridges_and_valleys") - col.prop(freestyle, "use_suggestive_contours") - col.prop(freestyle, "use_advanced_options") - if freestyle.use_advanced_options: - col.prop(freestyle, "sphere_radius") - col.prop(freestyle, "kr_derivative_epsilon") col.separator() col.operator("scene.freestyle_module_add") |