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

MAYA-105604 Handle empty relative path #743

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

JGamache-autodesk
Copy link
Collaborator

Boost filesystem will return an empty path when it can not find a
relative one. This will happen when the USD file and the textures are
not on the same Windows drive, or with UNC paths.

Boost filesystem will return an empty path when it can not find a
relative one. This will happen when the USD file and the textures are
not on the same Windows drive, or with UNC paths.
Copy link
Contributor

@HamedSabri-adsk HamedSabri-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Thank you.

IMO, we should just drop the dependency on boost::filesystem in maya-usd entirely. It is not that much code if you search.

FWIW, looking at USD 20.08 change log, it appears that they have dropped dependency on boost::filesystem (Issue #679).

@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Aug 25, 2020
@kxl-adsk kxl-adsk merged commit 4ebf3ad into dev Aug 25, 2020
@kxl-adsk kxl-adsk deleted the t_gamaj/MAYA-105604/handle_empty_relative_path branch August 25, 2020 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants