Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix relative filepaths #663

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix relative filepaths #663

wants to merge 4 commits into from

Conversation

BradyAJohnston
Copy link
Owner

If we import a molecular dynamics trajectory before first saving the .blend file, then the file paths will be absolute for the topology and trajectory. This means the .blend is no longer portable.

This is fine if we remain on the same machine, but breaks if we try to move a folder onto another machine for rendering.

To fix this, part of the saving / serialisation process has to be turning absolute file paths into relative. This was previously quite janky (#662 ), so needs to be improved and streamlined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error Creating Relative Path When Absolute Path Is Used as Input
1 participant