BBS Model Ex/importer v1.3.2#942
Conversation
|
@mchorse please check this PR. If you want to add members who can make updates without approval in the future, you can add a members file. |
|
@Bay4lly you messed up the formatting... it was if (...)
{
}And now it's: if (...) {
}Please fix it. In addition to that, it seems like you also need to add tags, i.e. I'm not sure whether the ZIP code is working though, but it seems to be sensible. According to Claude, it seems that there could be name duplication, if there are textures with same name, and this can be fixed something like this: var usedNames = {};
Texture.all.forEach((t) =>
{
if (t.error) return;
var base = t.name.endsWith(".png") ? t.name.slice(0, -4) : t.name;
var name = base + ".png";
var n = 1;
while (usedNames[name]) name = base + "_" + (n++) + ".png";
usedNames[name] = true;
zip.file(name, t.getBase64(), { base64: true });
});@JannisX11 it's one time thing. bay4lly just wanted to push the fix, and add a feature. I don't have any intention on adding someone as a member. |
Okay, i think when press ctrl+s text editor changed formatting |
|
hey i changed with claude can you check it? i am in phone so i cant edit it now.
|
|
Looks good to me! 🚀 |
|
Thank you Jannis, and thank you Bay! 💖 |


Bug fixes:
-Fixed animation import
Features:
-Added ZIP export fallback for "Export as ZIP" option on the web version of Blockbench