ra4king / CircuitSim

Basic Circuit Simulator
https://ra4king.github.io/CircuitSim
BSD 3-Clause "New" or "Revised" License
76 stars 28 forks source link

Loading circuit using library fails #49

Closed necroTaxonomist closed 5 years ago

necroTaxonomist commented 5 years ago

image

If a circuit is created using an importable jar library, and is saved with elements from the library in the circuit, the circuit cannot be opened. If the elements are manually removed from the circuit, the circuit opens fine and the elements from the library are still available from the sidebar.

necroTaxonomist commented 5 years ago

Might be related https://github.com/ra4king/CircuitSim/issues/50

ra4king commented 5 years ago

Most likely the library isn't found. I notice now I don't throw an error if the library path (in the .sim file) doesn't exist. I've improved that with 492b4741d2ba1b3bc2ed3a6a0f839866ef0c8f53