Upgrade icon

Fix potential error in template generator
This commit is contained in:
JannisX11 2024-08-23 19:45:08 +02:00
parent 15b9242ced
commit 5247dfcb7c
4 changed files with 5 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 KiB

After

Width:  |  Height:  |  Size: 129 KiB

View File

@ -1610,6 +1610,7 @@ BARS.defineActions(function() {
}
}
})
// Todo: Fix undo
new Action('retarget_animators', {
icon: 'rebase',
category: 'animation',

View File

@ -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) => {

View File

@ -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;
}
})
})
}