mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Upgrade icon
Fix potential error in template generator
This commit is contained in:
parent
15b9242ced
commit
5247dfcb7c
BIN
build/icon.ico
BIN
build/icon.ico
Binary file not shown.
Before Width: | Height: | Size: 358 KiB After Width: | Height: | Size: 129 KiB |
@ -1610,6 +1610,7 @@ BARS.defineActions(function() {
|
||||
}
|
||||
}
|
||||
})
|
||||
// Todo: Fix undo
|
||||
new Action('retarget_animators', {
|
||||
icon: 'rebase',
|
||||
category: 'animation',
|
||||
|
@ -661,7 +661,6 @@ function sortAutocompleteResults(results, incomplete) {
|
||||
.toLowerCase()
|
||||
if (start.length === 0) return result
|
||||
const [space, dir] = start.split('.').slice(-2)
|
||||
console.log(`'${text}' => '${start}' '${space}' '${dir}'`)
|
||||
|
||||
const possibleRootTokens = this.getPossibleRootTokens(start)
|
||||
possibleRootTokens.forEach((token) => {
|
||||
|
@ -1427,8 +1427,10 @@ const TextureGenerator = {
|
||||
}
|
||||
}
|
||||
if (!face.uv[vkey]) face.uv[vkey] = [];
|
||||
face.uv[vkey][0] = source.vertex_uvs[source_fkey][source_vkey][0] + source.posx;
|
||||
face.uv[vkey][1] = source.vertex_uvs[source_fkey][source_vkey][1] + source.posy;
|
||||
if (source.vertex_uvs[source_fkey][source_vkey]) {
|
||||
face.uv[vkey][0] = source.vertex_uvs[source_fkey][source_vkey][0] + source.posx;
|
||||
face.uv[vkey][1] = source.vertex_uvs[source_fkey][source_vkey][1] + source.posy;
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user