Fix T76306: Disable use creases when there is displacement data

Use creases changes the limit surface, so the displacemente data is
won't be correct if this option is modified without updating the
displacement.

Reviewed By: sergey

Maniphest Tasks: T76306

Differential Revision: https://developer.blender.org/D7700
This commit is contained in:
Pablo Dobarro
2020-05-12 03:46:51 +02:00
parent bf0a554114
commit ce35cfd208

View File

@@ -705,7 +705,10 @@ 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")
row = col.row()
row.enabled = not have_displacement
row.prop(md, "use_creases")
layout.separator()