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

Not work in macOS Ventura and Monterey #2

Open
vml933 opened this issue Nov 24, 2023 · 1 comment
Open

Not work in macOS Ventura and Monterey #2

vml933 opened this issue Nov 24, 2023 · 1 comment

Comments

@vml933
Copy link

vml933 commented Nov 24, 2023

Hi:
I download the latest version, It work find in MacOS: Sonoma, but not work in previous MacOS: Ventura and Monterey, OBJ's MTL file content has some problem. but previous USDConverter version work fine in Ventura and Monterey.

Thanks for your help.

@vml933
Copy link
Author

vml933 commented Nov 27, 2023

Update USDConverter.swift Line: 179 :

return duplicates.map({ $0.name }).contains(matName)

to

if #available(macOS 14.0, *){
    return duplicates.map({ $0.name }).contains(matName)
}else{
    return duplicates.map({ $0.simpleName }).contains(matName)
}

Fix the MTL file problem, Any better solution?

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

No branches or pull requests

1 participant