diff --git a/PCK-Studio/Rendering/SkinRenderer.cs b/PCK-Studio/Rendering/SkinRenderer.cs index 07ee44d0..19d9bf36 100644 --- a/PCK-Studio/Rendering/SkinRenderer.cs +++ b/PCK-Studio/Rendering/SkinRenderer.cs @@ -1053,7 +1053,12 @@ namespace PckStudio.Rendering if (ModelData.IndexInRange(SelectedIndex)) { SkinBOX box = ModelData[SelectedIndex]; - BoundingBox cubeBoundingBox = Cube.FromSkinBox(box).GetBoundingBox(); + + Cube cube = Cube.FromSkinBox(box); + + cube.Inflate = autoInflateOverlayParts && box.IsOverlayPart() ? box.Type == "HEADWEAR" ? OverlayScale * 2 : OverlayScale : 0f; + + BoundingBox cubeBoundingBox = cube.GetBoundingBox(); if (meshStorage.ContainsKey(box.Type)) {