mirror of
https://github.com/GeyserExtensionists/GeyserModelEngineBlockbenchPacker.git
synced 2025-12-19 15:09:23 +00:00
huh
This commit is contained in:
@@ -374,6 +374,14 @@ function calculateVisibleBox() {
|
|||||||
for (var face in obj.faces) {
|
for (var face in obj.faces) {
|
||||||
if (obj.faces[face].texture !== null) {
|
if (obj.faces[face].texture !== null) {
|
||||||
texture = Texture.all.findInArray('uuid', obj.faces[face].texture);
|
texture = Texture.all.findInArray('uuid', obj.faces[face].texture);
|
||||||
|
|
||||||
|
|
||||||
|
if (texture == null || texture.name == undefined) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
texture_name = texture.name.replace("_e.png", "");
|
||||||
|
texture = Texture.all.findInArray('name', texture_name)
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user