Describe the bug
Editing a subpatch from multiple instances causes message "A different reference to this subpatchOp was changed. Continue edit HERE" to appear and never go away (see below)
How To Reproduce
Create a subpatch and add multiple instances of it by copying and pasting.
Double click an instance to edit the subpatch. Add another input/output port or create/remove a cable to the subpatch input or output port.
Go back to main and double-click another instance. If you try to edit the subpatch you get the message.
(optional) click the "HERE" button: the message does not go away.
(optional) reload the patch: the message disappears but it is unclear which edited version of the subpatch you get.
In some tests the subpatch display completely disappear.
Platform
Chrome (Version 125.0.6422.113 (Official Build) (arm64)) on Mac M1 Pro running Sonoma
Dev Tools
cables.js:943 [LoadingStatus] finished loading 3 assets in 0.209s
cablesui.js:29142 updaterestrict?!
hey, thanks for the report. this is fixed on dev.cables.gl and will be in the next release. the warning disappears after the patchfield was navigated to the subpatch that was changed.
Link to simple, reproducible example patch https://cables.gl/edit/ep6PQe
Describe the bug Editing a subpatch from multiple instances causes message "A different reference to this subpatchOp was changed. Continue edit HERE" to appear and never go away (see below)
How To Reproduce
Platform
Dev Tools cables.js:943 [LoadingStatus] finished loading 3 assets in 0.209s cablesui.js:29142 updaterestrict?!