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 loading avatars from Dropbox due to URLs containing parameters #634

Merged

Conversation

daleglass
Copy link
Contributor

Fixes the FST parser, which chokes on = characters in URLs.

With this avatars hosted on Dropbox should load correctly.

Here's an URL to test with: https://www.dropbox.com/scl/fi/9tcraie3picd576o4kcpi/avatar-dropbox-good-dl3.fst?rlkey=o03ebkw7l19bzpvvw7qrg6cow&dl=1

For it to work, you must use the download link, with the dl=1 at the end. The actual FST has to contain a full URL for the model, also with the download link:

filename = https://www.dropbox.com/scl/fi/jalud26irtex49jujp2ea/DaleFoxShapes.fbx?rlkey=xxigk6fww60ynzta82aqs5qbx&dl=1

Note that the "rlkey" and the URL don't match in these two. Dropbox URLs are random and can't be used with the "texdir" and similar relative paths. Full paths must be used everywhere.

Closes #633

@daleglass daleglass added needs CR This pull request needs to be code reviewed needs QA This pull request needs to be tested labels Sep 18, 2023
@ksuprynowicz ksuprynowicz added CR approved This pull request has been successfully code reviewed and removed needs CR This pull request needs to be code reviewed labels Sep 18, 2023
@ksuprynowicz ksuprynowicz merged commit 5526e75 into overte-org:master Sep 18, 2023
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR approved This pull request has been successfully code reviewed needs QA This pull request needs to be tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avatars hosted on Dropbox don't seem to load
2 participants