From b3814e61d1ef9c8b135d51971e2a7dd2a02303e7 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Wed, 12 Oct 2022 12:51:36 +0200 Subject: [PATCH] Fix misidentification bug. --- Penumbra.GameData/ObjectIdentification.cs | 3 +++ Penumbra/UI/Classes/ModEditWindow.FileEdit.cs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Penumbra.GameData/ObjectIdentification.cs b/Penumbra.GameData/ObjectIdentification.cs index 93e0a52c..fa137006 100644 --- a/Penumbra.GameData/ObjectIdentification.cs +++ b/Penumbra.GameData/ObjectIdentification.cs @@ -293,6 +293,9 @@ internal class ObjectIdentification : IObjectIdentifier case CustomizationType.Iris when race == ModelRace.Unknown: set[ $"Customization: All Eyes (Catchlight)" ] = null; break; + case CustomizationType.DecalEquip: + set[ $"Equipment Decal {info.PrimaryId}" ] = null; + break; default: { var customizationString = race == ModelRace.Unknown diff --git a/Penumbra/UI/Classes/ModEditWindow.FileEdit.cs b/Penumbra/UI/Classes/ModEditWindow.FileEdit.cs index 9515e585..42727936 100644 --- a/Penumbra/UI/Classes/ModEditWindow.FileEdit.cs +++ b/Penumbra/UI/Classes/ModEditWindow.FileEdit.cs @@ -332,7 +332,7 @@ public partial class ModEditWindow ret = true; } - ImGui.SameLine(200 * ImGuiHelpers.GlobalScale + ImGui.GetStyle().ItemSpacing.X + ImGui.GetStyle().WindowPadding.X); + ImGui.SameLine( 200 * ImGuiHelpers.GlobalScale + ImGui.GetStyle().ItemSpacing.X + ImGui.GetStyle().WindowPadding.X ); tmp = ( file.ShaderPackage.Flags & backfaceBit ) != 0; if( ImGui.Checkbox( "Hide Backfaces", ref tmp ) ) {