From c4c475528b12d7ea9b81f52e9aa0289f020974cc Mon Sep 17 00:00:00 2001 From: Turanszki Janos Date: Tue, 2 Feb 2021 00:15:29 +0100 Subject: [PATCH] editor materialwnd fix --- Editor/MaterialWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Editor/MaterialWindow.cpp b/Editor/MaterialWindow.cpp index 61b14ad46..c1ed29c20 100644 --- a/Editor/MaterialWindow.cpp +++ b/Editor/MaterialWindow.cpp @@ -1291,6 +1291,11 @@ void MaterialWindow::SetEntity(Entity entity) texture_emissive_Button.SetText(wiHelper::GetFileNameFromPath(material->emissiveMapName)); texture_occlusion_Button.SetText(wiHelper::GetFileNameFromPath(material->occlusionMapName)); texture_transmission_Button.SetText(wiHelper::GetFileNameFromPath(material->transmissionMapName)); + texture_sheenColor_Button.SetText(wiHelper::GetFileNameFromPath(material->sheenColorMapName)); + texture_sheenRoughness_Button.SetText(wiHelper::GetFileNameFromPath(material->sheenRoughnessMapName)); + texture_clearcoat_Button.SetText(wiHelper::GetFileNameFromPath(material->clearcoatMapName)); + texture_clearcoatRoughness_Button.SetText(wiHelper::GetFileNameFromPath(material->clearcoatRoughnessMapName)); + texture_clearcoatNormal_Button.SetText(wiHelper::GetFileNameFromPath(material->clearcoatNormalMapName)); texture_baseColor_uvset_Field.SetText(std::to_string(material->uvset_baseColorMap)); texture_normal_uvset_Field.SetText(std::to_string(material->uvset_normalMap));