From 68a2c4c66d18054a6e91eb8cd7ac50aaf9d0ae1f Mon Sep 17 00:00:00 2001 From: Jakob Bouchard Date: Thu, 6 Feb 2025 14:30:24 -0500 Subject: [PATCH] Fix struct name rendering --- .../Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp b/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp index 1c0785c..cbbef3c 100644 --- a/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp +++ b/Plugins/Cog/Source/CogEngine/Private/CogEngineWindow_Inspector.cpp @@ -869,7 +869,7 @@ bool FCogEngineWindow_Inspector::RenderObject(UObject* Object, bool ShowChildren bool FCogEngineWindow_Inspector::RenderStruct(const FStructProperty* StructProperty, uint8* PointerToValue, bool ShowChildren) { ImGui::BeginDisabled(); - ImGui::Text("%s", TCHAR_TO_ANSI(*StructProperty->Struct->GetClass()->GetName())); + ImGui::Text("%s", TCHAR_TO_ANSI(*StructProperty->Struct->GetStructCPPName())); ImGui::EndDisabled(); bool HasChanged = false;