Using relative paths vs absolute vs clean paths #82
cappelletto
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When importing a project, the cwd() path is used as the base path against which the project is referenced. As a consequence, very verbose/nested ../../.. paths are generated.
I understand the convenience of using relative paths for the internal layers (e.g. orthomosaics or DEMs), but things like the title, or the actual project path might benefit from having a cleaner path (as those provided via QT API with dir.cleanPath methods)
Path cleaning could happen at Project.loadProject() level, or just before saving with the save() method maybe?
CHeers,
Jose
Beta Was this translation helpful? Give feedback.
All reactions