diff --git a/js/io/formats/skin.js b/js/io/formats/skin.js index b97ddfa0..e251da06 100644 --- a/js/io/formats/skin.js +++ b/js/io/formats/skin.js @@ -68,6 +68,8 @@ const codec = new Codec('skin_model', { Project.texture_width = data.texturewidth || 64; Project.texture_height = data.textureheight || 64; + Formats.skin.rotate_cubes = data.rotate_cubes == true; + var bones = {} var template_cubes = {}; @@ -2343,6 +2345,7 @@ skin_presets.ghast = `{ }`; skin_presets.goat = `{ "name": "goat", + "rotate_cubes": true, "texturewidth": 64, "textureheight": 64, "bones": [ diff --git a/js/io/io.js b/js/io/io.js index 0507d263..2eb0076e 100644 --- a/js/io/io.js +++ b/js/io/io.js @@ -903,7 +903,7 @@ BARS.defineActions(function() { } } else { saveTextures() - if (Format.codec && Format.codec.compile) { + if (Format.codec && Format.codec.compile && Format.id != 'skin') { Format.codec.export() } }