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:
authorHans Goudey <h.goudey@me.com>2020-11-26 20:56:12 +0300
committerHans Goudey <h.goudey@me.com>2020-11-26 20:56:12 +0300
commit26eb8d6aa0c8fcf59d427390f57765c61fde2c92 (patch)
treef31b88db5629a7f7173b7a9eb71216e139a31a9f /source/blender/modifiers
parent226b02852350991eb49e5b5a01d5aa4250dd7e43 (diff)
UI: Use decorators in volume modifiers
This is consistent with the UI for other modifier types.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_mesh_to_volume.cc1
-rw-r--r--source/blender/modifiers/intern/MOD_volume_displace.cc1
-rw-r--r--source/blender/modifiers/intern/MOD_volume_to_mesh.cc1
3 files changed, 0 insertions, 3 deletions
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<MeshToVolumeModifierData *>(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<VolumeDisplaceModifierData *>(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<VolumeToMeshModifierData *>(ptr->data);
uiLayoutSetPropSep(layout, true);
- uiLayoutSetPropDecorate(layout, false);
{
uiLayout *col = uiLayoutColumn(layout, false);