Fix reassigned uuids breaking frame relationships

This commit is contained in:
Skyler Lehmkuhl 2024-12-29 00:09:59 -05:00
parent a975195f6a
commit 15ddce6dfb
1 changed files with 7 additions and 0 deletions

View File

@ -3274,6 +3274,12 @@ async function importFile() {
uuidCache[value] = uuidv4(); // Store the generated UUID for the value uuidCache[value] = uuidv4(); // Store the generated UUID for the value
} }
obj[key] = uuidCache[value]; // Assign the UUID to the object property obj[key] = uuidCache[value]; // Assign the UUID to the object property
} else if (key in existing) {
// If the value is in the "existing" list, assign a UUID
if (!uuidCache[key]) {
uuidCache[key] = uuidv4(); // Store the generated UUID for the value
}
obj[key] = uuidCache[key]; // Assign the UUID to the object property
} }
} }
} }
@ -4644,6 +4650,7 @@ function outliner(object=undefined) {
} else { } else {
outliner.object = object outliner.object = object
} }
outliner.style.cursor = "pointer"
let lastResizeTime = 0; let lastResizeTime = 0;
const throttleIntervalMs = 20; const throttleIntervalMs = 20;