Tracktion / tracktion_engine

Tracktion Engine module
Other
1.2k stars 152 forks source link

EditFileOperations::saveAs doesn't update relative paths #50

Open drowaudio opened 3 years ago

drowaudio commented 3 years ago

When doing a save-as operation, relative paths will be broken if the new Edit file isn't in the same directory. In this case, the paths should be corrected to be relative to the new Edit file. See here for example code: https://forum.juce.com/t/save-load-edit-waves-not-found/45275/5