diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-05-23 02:21:15 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-05-23 02:21:15 +0400 |
commit | b85985535dd420e50cc906bd6e7dd352cc2b8b97 (patch) | |
tree | 79c4e7703d218855b7460bd5b32e85ee3926d885 /release | |
parent | dbcb73c033fc15fc0df2ab0a05ac0b2c4a9a31b1 (diff) |
New option for detecting feature edges at material boundaries.
A checkbox "Material Boundaries" has been added to the Freestyle
options in the Layers tab of the Render buttons. By enabling the
option, any edge between two faces with different materials is
detected as a feature edge. In style modules, edges at material
boundaries can be tested with pyNatureUP1D(Nature.MATERIAL_BOUNDARY).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_render.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/ui/properties_render.py b/release/scripts/ui/properties_render.py index bcfb34a20ac..f69cf309304 100644 --- a/release/scripts/ui/properties_render.py +++ b/release/scripts/ui/properties_render.py @@ -185,6 +185,7 @@ class RENDER_PT_layers(RenderButtonsPanel): col.prop(freestyle, "sphere_radius", text="Sphere Radius") col.prop(freestyle, "ridges_and_valleys", text="Ridges and Valleys") col.prop(freestyle, "suggestive_contours", text="Suggestive Contours") + col.prop(freestyle, "material_boundaries", text="Material Boundaries") col.prop(freestyle, "dkr_epsilon", text="Dkr Epsilon") col.operator("scene.freestyle_module_add", text="Add Style Module") |