Namespace vendored H3 nodes under Dumas

This commit is contained in:
2026-10-20 13:54:56 +00:00
parent 8445f0e500
commit cb9c3f339d
19 changed files with 456 additions and 321 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ async function refreshLoaderVisibility(node) {
const data = await fetchLoaderCapabilities(mod);
applyModalityVisibility(node, data.ok ? data : { has_visual: true, has_audio: true });
} catch (error) {
console.warn("[H3RefModLoader] Could not refresh capabilities:", error);
console.warn("[DumasH3RefModPicker_H3RefModLoader] Could not refresh capabilities:", error);
applyModalityVisibility(node, { has_visual: true, has_audio: true });
}
}
@@ -74,7 +74,7 @@ app.registerExtension({
name: "H3RefModPicker.RefModLoader",
async beforeRegisterNodeDef(nodeType, nodeData) {
if (nodeData?.name !== "H3RefModLoader") return;
if (nodeData?.name !== "DumasH3RefModPicker_H3RefModLoader") return;
const onNodeCreated = nodeType.prototype.onNodeCreated;
nodeType.prototype.onNodeCreated = function () {