haighcam / egui_nodes

MIT License
108 stars 31 forks source link

Error message for when pin ID's are not unique #5

Closed sdfgeoff closed 3 years ago

sdfgeoff commented 3 years ago

When the pin ID is not unique you get an unwrap error. I spend a fair while trying to chase this down in my test project before I realized the cause (I thought the pin ID just had to be unique per-node). This just adds an error message to the place where rust was panicing. (And github's web UI causes the EOF newline to vanish).