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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-12-12 03:41:15 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-12-12 03:41:15 +0400
commit32db495e501e8d36718f50b79bbebad4dbb67d33 (patch)
tree10cbb93885cf4e62f2138cce81dff943c6af8edf /release/scripts/startup/bl_ui/properties_render.py
parent8a182d41b18b739c8b03c2961a2e79ca6d83049c (diff)
Updates on the Parameter Editor mode:
* Added a new chain splitting option for dividing chains into pieces having a given curvilinear 2D length. * Rearranged the UI controls of chain splitting options according to the actual order of processing. * Made changes for converting each view edge into a chain in the case of not using chaining.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py24
1 files changed, 14 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index c21308873a3..94c5c5c9b40 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -598,30 +598,34 @@ class RENDER_PT_freestyle_linestyle(RenderButtonsPanel, Panel):
# Splitting
col = layout.column()
col.label(text="Splitting:")
- sub = col.row()
- subcol = sub.column()
- subcol.prop(linestyle, "use_min_angle", text="Min Angle")
- subsub = subcol.split()
+ row = col.row()
+ row.prop(linestyle, "material_boundary")
+ row = col.row()
+ sub = row.column()
+ sub.prop(linestyle, "use_min_angle", text="Min 2D Angle")
+ subsub = sub.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()
+ sub = row.column()
+ sub.prop(linestyle, "use_max_angle", text="Max 2D Angle")
+ subsub = sub.split()
subsub.prop(linestyle, "max_angle", text="")
subsub.enabled = linestyle.use_max_angle
+ col.prop(linestyle, "use_split_length", text="2D Length")
row = col.row()
- row.prop(linestyle, "material_boundary")
+ row.prop(linestyle, "split_length", text="")
+ row.enabled = linestyle.use_split_length
# Selection
col = layout.column()
col.label(text="Selection:")
sub = col.row()
subcol = sub.column()
- subcol.prop(linestyle, "use_min_length", text="Min Length")
+ subcol.prop(linestyle, "use_min_length", text="Min 2D Length")
subsub = subcol.split()
subsub.prop(linestyle, "min_length", text="")
subsub.enabled = linestyle.use_min_length
subcol = sub.column()
- subcol.prop(linestyle, "use_max_length", text="Max Length")
+ subcol.prop(linestyle, "use_max_length", text="Max 2D Length")
subsub = subcol.split()
subsub.prop(linestyle, "max_length", text="")
subsub.enabled = linestyle.use_max_length