Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
zHoeshin authored Sep 16, 2024
1 parent 07b6a03 commit c03380e
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
lines: [],
onConfirm: (b, e) => {
let res = propertiesDialog.getFormResult()
console.warn(res)
Project.properties = res
},
onCancel: (b, e) => {},
Expand Down Expand Up @@ -104,7 +103,6 @@
let uv = obj.faces[f].uv

let textures = Texture.all.filter((x) => {return x.uuid == obj.faces[f].texture})
console.error(textures)
let texture = textures[0]
if (texture !== undefined) texture = texture.name
//texture = (texture === undefined) ? "empty.png" : texture.name
Expand Down Expand Up @@ -137,10 +135,7 @@
}
}

console.log(cube)
for(let i = 0; i < 6; i++){
console.warn(i, uvs[facenamesbb[i]])
console.log(uvs[facenamesbb[i]][5])
if ((uvs[facenamesbb[i]][5] === undefined) || (uvs[facenamesbb[i]][5] === "empty.png")){
continue
}
Expand Down Expand Up @@ -282,8 +277,6 @@
}, 50);
}

console.warn(data)

if(data.cuboids === undefined){
if(data.parent === undefined){
throw Error(`No cuboids found in file ${path}`)
Expand Down

0 comments on commit c03380e

Please sign in to comment.