diff --git a/index.html b/index.html index 090b9078..8c2e5da1 100644 --- a/index.html +++ b/index.html @@ -8007,7 +8007,7 @@ - + diff --git a/modules/dynamic/auto-update.js b/modules/dynamic/auto-update.js index 47dc5aa2..588a8f69 100644 --- a/modules/dynamic/auto-update.js +++ b/modules/dynamic/auto-update.js @@ -639,7 +639,9 @@ export function resolveVersionConflicts(version) { if (version < 1.91) { // from v1.90.02 texture image is always there - if (!texture.selectAll("*").size()) { + if (!texture.select("#textureImage").size()) { + // cleanup old texture if it has no id and add new one + texture.selectAll("*").remove(); texture .append("image") .attr("id", "textureImage") diff --git a/modules/io/load.js b/modules/io/load.js index 328f56a0..1a2fa03c 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -435,7 +435,7 @@ async function parseLoadedData(data) { { // dynamically import and run auto-udpdate script const versionNumber = parseFloat(params[0]); - const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.92.03"); + const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.92.04"); resolveVersionConflicts(versionNumber); } diff --git a/versioning.js b/versioning.js index a384b243..6c8d1c94 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.92.03"; // generator version, update each time +const version = "1.92.04"; // generator version, update each time { document.title += " v" + version;