Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions OSC-liveUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ OSC.LiveUpdate = (function() {
console.log("array name from:" + oldNameOnly + " to " + newNameOnly);
var exportableLinks = getExportableLinksFromLinks(links,"");
OSC.export.addLinksToRenameToPacketArray(bundle, exportableLinks, node.name, oldName); // actually bundle have the save add function that PacketArray has
bundle.add(OSC.RenameObjectAddr, "ss", oldName, node.newName);
bundle.add(OSC.RenameObjectAddr, "ss", oldName, node.name);
}
}
else {
console.log("node is still non array");
var exportableLinks = getExportableLinksFromLinks(links,"");
OSC.export.addLinksToRenameToPacketArray(bundle, exportableLinks, node.name, oldName); // actually bundle have the save add function that PacketArray has
bundle.add(OSC.RenameObjectAddr, "ss", oldName, node.newName);
bundle.add(OSC.RenameObjectAddr, "ss", oldName, node.name);
}
OSC.SendBundle(bundle);

Expand Down