mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-11 22:31:54 +00:00
GameModelImporter - Change function signature of 'CreateElement'
This commit is contained in:
@@ -64,7 +64,7 @@ namespace PckStudio.Internal
|
||||
|
||||
foreach (ModelBox box in part.Boxes)
|
||||
{
|
||||
Element element = CreateElement(box, partTranslation, part.Name);
|
||||
Element element = CreateElement(part.Name, box, partTranslation);
|
||||
element.Origin = outline.Origin;
|
||||
elements.Add(element);
|
||||
outline.Children.Add(element.Uuid);
|
||||
@@ -124,7 +124,7 @@ namespace PckStudio.Internal
|
||||
}
|
||||
}
|
||||
|
||||
private static Element CreateElement(ModelBox box, Vector3 origin, string name)
|
||||
private static Element CreateElement(string name, ModelBox box, Vector3 origin)
|
||||
{
|
||||
Vector3 pos = box.Position;
|
||||
Vector3 size = box.Size;
|
||||
|
||||
Reference in New Issue
Block a user