From 26eb8d6aa0c8fcf59d427390f57765c61fde2c92 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 26 Nov 2020 12:56:12 -0500 Subject: UI: Use decorators in volume modifiers This is consistent with the UI for other modifier types. --- source/blender/modifiers/intern/MOD_mesh_to_volume.cc | 1 - source/blender/modifiers/intern/MOD_volume_displace.cc | 1 - source/blender/modifiers/intern/MOD_volume_to_mesh.cc | 1 - 3 files changed, 3 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc index 61d556a64af..e137a59e10f 100644 --- a/source/blender/modifiers/intern/MOD_mesh_to_volume.cc +++ b/source/blender/modifiers/intern/MOD_mesh_to_volume.cc @@ -143,7 +143,6 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) MeshToVolumeModifierData *mvmd = static_cast(ptr->data); uiLayoutSetPropSep(layout, true); - uiLayoutSetPropDecorate(layout, false); uiItemR(layout, ptr, "object", 0, nullptr, ICON_NONE); uiItemR(layout, ptr, "density", 0, nullptr, ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_volume_displace.cc b/source/blender/modifiers/intern/MOD_volume_displace.cc index f4e1936713c..90e570f55fb 100644 --- a/source/blender/modifiers/intern/MOD_volume_displace.cc +++ b/source/blender/modifiers/intern/MOD_volume_displace.cc @@ -112,7 +112,6 @@ static void panel_draw(const bContext *C, Panel *panel) VolumeDisplaceModifierData *vdmd = static_cast(ptr->data); uiLayoutSetPropSep(layout, true); - uiLayoutSetPropDecorate(layout, false); uiTemplateID(layout, C, ptr, "texture", "texture.new", nullptr, nullptr, 0, ICON_NONE, nullptr); uiItemR(layout, ptr, "texture_map_mode", 0, "Texture Mapping", ICON_NONE); diff --git a/source/blender/modifiers/intern/MOD_volume_to_mesh.cc b/source/blender/modifiers/intern/MOD_volume_to_mesh.cc index e008dc3f140..ec53914f115 100644 --- a/source/blender/modifiers/intern/MOD_volume_to_mesh.cc +++ b/source/blender/modifiers/intern/MOD_volume_to_mesh.cc @@ -95,7 +95,6 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel) VolumeToMeshModifierData *vmmd = static_cast(ptr->data); uiLayoutSetPropSep(layout, true); - uiLayoutSetPropDecorate(layout, false); { uiLayout *col = uiLayoutColumn(layout, false); -- cgit v1.2.3