VivaGraphJS icon indicating copy to clipboard operation
VivaGraphJS copied to clipboard

WebglNodeImageProgram nodes use wrong images after deleting a node

Open ghost opened this issue 8 years ago • 0 comments
trafficstars

Deleting a node other than the last added node can cause other nodes to display wrong image.

I made a jsfiddle demostrating this issue: https://jsfiddle.net/40v7c2vs/1/

You can see the issue when you click "delete1" button, which deletes node1 but node2 image changes to node1 image. If you click "delete2" it works correctly because node2 is added after node1.

ghost avatar Jul 16 '17 20:07 ghost