mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-12 18:18:35 +00:00
SkinRenderer - Fix part highlighting respecting inflate
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user