mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-30 15:42:42 +08:00
Fix #1797 Append Box UV elements to template increases size
This commit is contained in:
parent
eb09fcb4a5
commit
9bc4c9e039
@ -266,8 +266,8 @@ const TextureGenerator = {
|
||||
var fill_map = {};
|
||||
|
||||
if (makeTexture instanceof Texture) {
|
||||
extend_x = makeTexture.width;
|
||||
extend_y = makeTexture.height;
|
||||
extend_x = makeTexture.width / res_multiple;
|
||||
extend_y = makeTexture.height / res_multiple;
|
||||
Cube.all.forEach(element => {
|
||||
for (let fkey in element.faces) {
|
||||
let face = element.faces[fkey];
|
||||
|
Loading…
Reference in New Issue
Block a user