mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-24 12:16:29 +00:00
ModelIporter - Rename 'GetPivot' to 'GetSkinBoxPivot'
This commit is contained in:
@@ -226,7 +226,7 @@ namespace PckStudio.Internal
|
||||
{
|
||||
outliners.Add(box.Type, new Outline(box.Type)
|
||||
{
|
||||
Origin = GetPivot(box.Type) + offset
|
||||
Origin = GetSkinBoxPivot(box.Type) + offset
|
||||
});
|
||||
}
|
||||
|
||||
@@ -498,7 +498,7 @@ namespace PckStudio.Internal
|
||||
{
|
||||
Bone bone = new Bone(box.Type)
|
||||
{
|
||||
Pivot = GetPivot(box.Type) + offset
|
||||
Pivot = GetSkinBoxPivot(box.Type) + offset
|
||||
};
|
||||
bones.Add(box.Type, bone);
|
||||
}
|
||||
@@ -658,7 +658,7 @@ namespace PckStudio.Internal
|
||||
return Vector3.Zero;
|
||||
}
|
||||
|
||||
private static Vector3 GetPivot(string partName)
|
||||
private static Vector3 GetSkinBoxPivot(string partName)
|
||||
{
|
||||
return TransformSpace(ModelPartSpecifics.GetPositioningInfo(partName).Pivot, Vector3.Zero, Vector3.UnitY) + (24f * Vector3.UnitY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user