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:
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py15
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")