SkinRenderer - Update 'OverlayScale' const to 0.25f

This commit is contained in:
miku-666
2024-04-08 17:03:23 +02:00
parent a7efbd1c34
commit dad3cdb27b

View File

@@ -167,7 +167,7 @@ namespace PckStudio.Rendering
public Size TextureSize { get; private set; } = new Size(64, 64);
public Vector2 TillingFactor => new Vector2(1f / TextureSize.Width, 1f / TextureSize.Height);
private const float OverlayScale = 0.5f;
private const float OverlayScale = 0.25f;
private bool IsMouseHidden
{
@@ -786,7 +786,7 @@ namespace PckStudio.Rendering
throw new KeyNotFoundException(skinBox.Type);
CubeGroupMesh cubeMesh = meshStorage[skinBox.Type];
cubeMesh.AddSkinBox(skinBox, autoInflateOverlayParts && skinBox.IsOverlayPart() ? OverlayScale : 0f);
cubeMesh.AddSkinBox(skinBox, autoInflateOverlayParts && skinBox.IsOverlayPart() ? skinBox.Type == "HEADWEAR" ? OverlayScale * 2 : OverlayScale : 0f);
}
[Conditional("DEBUG")]