mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-09-23 07:22:25 +00:00
Fixed base boxes reappearing with show armor toggle
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user