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

Error when importing any .mdl with textures #53

Closed
lundinstrom opened this issue Aug 13, 2020 · 3 comments
Closed

Error when importing any .mdl with textures #53

lundinstrom opened this issue Aug 13, 2020 · 3 comments

Comments

@lundinstrom
Copy link

Anytime I import any .mdl and use the import textures option this error throws and the textures are just solid colours. I'm using the most recent version of Blender (as of 13 Aug 20) and most recent version of your SourceIO. Models I've tried it on are some Portal 2 ones. Is there a specific order you should import stuff into Blender?

(Textures/Materials first, then model? Or should the "import textures" checkbox when importing the model do it all?)

image

@audjob
Copy link

audjob commented Sep 28, 2020

The best determination I could make is the NoneType error is thrown because the backwalk_file_resolver() in path_utilities.py is being called to find the materials in a nonexistant folder, as it's trying to refer to ~//mat.vmt , which is what the .mdl file explicitly states, however the actual directory is the ~/materials//mat.vmt location, as all materials are in the ~/materials/ directory so it's sort of assumed to be implied, I believe.

@REDxEYE
Copy link
Owner

REDxEYE commented Nov 4, 2020

I need full error log

@REDxEYE
Copy link
Owner

REDxEYE commented Nov 27, 2020

Closing due to inactivity

@REDxEYE REDxEYE closed this as completed Nov 27, 2020
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

3 participants