mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-15 18:01:51 +00:00
SkinRenderer - Fix Highlight part having wrong transform
This commit is contained in:
@@ -1074,8 +1074,8 @@ namespace PckStudio.Rendering
|
||||
}
|
||||
}
|
||||
|
||||
Matrix4 bbTransform = cubeMesh.Transform;
|
||||
bbTransform *= GetGroupTransform(box.Type);
|
||||
Matrix4 bbTransform = GetGroupTransform(box.Type);
|
||||
bbTransform *= cubeMesh.Transform;
|
||||
bbTransform *= transform;
|
||||
GL.BlendFunc(BlendingFactor.DstAlpha, BlendingFactor.OneMinusSrcAlpha);
|
||||
DrawBoundingBox(bbTransform, cubeBoundingBox, HighlightlingColor);
|
||||
|
||||
Reference in New Issue
Block a user