From 063f46913ebe01560272f5e21f6fad32bd3935a0 Mon Sep 17 00:00:00 2001 From: MayNL Date: Mon, 25 May 2026 19:50:27 -0400 Subject: [PATCH] Fixed base boxes reappearing with show armor toggle --- PckStudio.Rendering/CubeMeshCollection.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PckStudio.Rendering/CubeMeshCollection.cs b/PckStudio.Rendering/CubeMeshCollection.cs index 062d8b5a..cf63826e 100644 --- a/PckStudio.Rendering/CubeMeshCollection.cs +++ b/PckStudio.Rendering/CubeMeshCollection.cs @@ -156,6 +156,10 @@ namespace PckStudio.Rendering { if (cubes[i] is CubeMesh cubeMesh) { + // basic fix for base skin cubes; base cube names start with "Default". If found, ignore + if (cubeMesh.Name.StartsWith("Default")) + continue; + bool hasArmorFlags = cubeMesh.GetCube().ArmorFlags != 0; bool visible = !(showArmor && hasArmorFlags);