jeffeb3 / sandify

web based user interface to create patterns that could be useful for robots that draw in sand with ball bearings.
MIT License
187 stars 34 forks source link

ensure that saved file imports can be reloaded #279

Open bobnik opened 10 months ago

bobnik commented 10 months ago

Bug: Cannot reload a saved file import layer. It throws an exception. To reproduce, import an exported pattern as a layer and reload the page. The pattern gets reset. The same thing happens if you save to sdf and try to load the file.

This PR fixes the issue.