From d220a87b47e317996e58cf5c597c872bc8970925 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 5 Apr 2019 14:13:05 +0200 Subject: Fix T63283: Second subdivision modifier does not ignore crease This is something where there is no single correct behavior, sometimes it's needed to ignore the crease to make mesh more smooth. But sometimes crease is to be considered after first subdivision surface: for example, when adding extra subdivisions for render-time displacement. Made it an option whether modifier needs to take crease into account or not. Existing files should be openable in the 2.7 compatible way, to re-create an old behavior the options is to be manually disabled in the modifier settings. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4652 --- release/scripts/startup/bl_ui/properties_data_modifier.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release/scripts') diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 59bf820560e..8e0021b64a8 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -658,6 +658,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel): col.operator("object.multires_base_apply", text="Apply Base") col.prop(md, "uv_smooth", text="") col.prop(md, "show_only_control_edges") + col.prop(md, "use_creases") layout.separator() @@ -1035,6 +1036,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel): sub.prop(md, "uv_smooth", text="") col.prop(md, "show_only_control_edges") + col.prop(md, "use_creases") if show_adaptive_options and ob.cycles.use_adaptive_subdivision: col = layout.column(align=True) -- cgit v1.2.3