You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading a file with relative paths (i.e. drawings) and saving to a different path, the path migration does not quite seem to do what it's supposed to.
I added the following path to rmf_site_format/asset_source.rs to show what's happening:
Note how there is an additional ../ in front of the path, and for this reason the newly saved file is unable to load the drawings.
I believe, based on the old and new reference paths, the migrated path should not contain the extra ../ since they are in the same folder.
The text was updated successfully, but these errors were encountered:
The missing part is that the combination of relative and absolute paths does not work.
This means that if a user was to open a project when using a relative path, for example through:
cargo run --release -- path_to_file.site.ron
Then save it from the UI to a different file, migration between the relative and the absolute path fails and the new paths won't work anymore.
Everything else (I believe) works as expected.
When loading a file with relative paths (i.e. drawings) and saving to a different path, the path migration does not quite seem to do what it's supposed to.
I added the following path to
rmf_site_format/asset_source.rs
to show what's happening:Then ran:
And saved to the same folder. The printout was the following:
Note how there is an additional
../
in front of the path, and for this reason the newly saved file is unable to load the drawings.I believe, based on the old and new reference paths, the migrated path should not contain the extra
../
since they are in the same folder.The text was updated successfully, but these errors were encountered: