Nornec / Midinous-Issues

2 stars 0 forks source link

1.0.5 - Program crashing when placing a point after a load #6

Closed Nornec closed 1 year ago

Nornec commented 1 year ago

This appears to only happen when loading projects that were made in old versions. Example, loading the old demo site project works but crashes when placing points. Loading Syncopate breaks, just like tutorial.

Nornec commented 1 year ago

Digging into the logs, it appears this is happening because point IDs aren't being set or loaded correctly. Need to investigate how the json is loaded/converted and what the IDs are for different saves when loading in. Both old and modern.

Rman-nl commented 1 year ago

same issue here: log_error.txt

Nornec commented 1 year ago

Should be fixed now. Added a line to increase the maximum object ID based on the maximum found in the objects dictionary after a project is loaded. Will be in the next release