WebglNodeImageProgram nodes use wrong images after deleting a node
- Dominant language
- JavaScript
- Stars
- 3.9k
- Forks
- 418
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior in the linked jsfiddle, focusing on WebglNodeImageProgram after deleting node1. Trace how node deletion affects image assignment, and consider the issue done when deleting a non-last node leaves every remaining node displaying its original image, while deleting node2 still works correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100