cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

Delete and undo subpatch op does not restore internal connections #830

Open TobyKLight opened 3 months ago

TobyKLight commented 3 months ago

Link to simple, reproducible example patch https://cables.gl/p/pmhUVl

Describe the bug When you delete a subpatch op, then press undo to recreate it, the recreated subpatch op is missing all internal connections from 'Subpatch Input' and 'Subpatch Output' ops

How To Reproduce

  1. Open https://cables.gl/p/pmhUVl

  2. Go inside 'mySubpatch' and verify the internal connections from SubpatchInput op to the internal ops are there.

    image
  3. Back in the root patch context delete 'mySubpatch' and then use undo shortcut to bring it back

  4. Again enter 'mySubpatch' and note the internal connections have disappeared.

    image

Platform Chrome 127 on win 11 Testes on regular and dev cables

60-hz commented 2 weeks ago

is duplicate of https://github.com/cables-gl/cables_docs/issues/817 The issue is still there.