[BUG] Import button creates multiple Image passes:
Closed this issue · 3 comments
Describe the bug
I import my shader and it creates additional Image pass tabs.
This is bad because I can't manually delete the additional Image pass tabs, so they get saved when I save my shader!
E.g. I saved this shader here, and I still can't remove the additional image passes:
https://www.shadertoy.com/view/tdVfz3
To Reproduce
Steps to reproduce the behavior:
- Go to /new
- Click on
Import
, and import the attached shader - See 2 image pass tabs
- Again: Click on
Import
, and import the attached shader - See 3 image pass tabs
.. Repeat: See more and more image pass tabs ..
Note: It's impossible to import the attached shader so that it only has 1 image pass tab.
Expected behavior
Replace the image pass.
Desktop (please complete the following information):
- OS: Manjaro
- Browser chromium
- Version 86.0.4240.75 (Official Build) (64-bit)
Additional context
Import this shader.json:
Btw, the same happens when I fork another shader! It has an additional image pass tab.
Should be ok since https://github.com/patuwwy/ShaderToy-Chrome-Plugin/releases/tag/0.13.228