-
-
Notifications
You must be signed in to change notification settings - Fork 14
Error creating .vmt files #103
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingresourcesIssues related to resources the plugin useIssues related to resources the plugin use
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingresourcesIssues related to resources the plugin useIssues related to resources the plugin use
Describe the bug
Creating .vmt files fails when the source texture is not already inside the configured materials folder.
Not sure if I missed something, but I had an error creating .vmt files from texutres. I'd get the following error each time unless the texture was in the set materials folder:
I looked at the code and saw the basetexture var seems to be relying on the texture to be actively in the VMFConfig materials folder:
Not sure if this is intended, but I just changed this line to something that wasn't reliant on the texture's path:
This worked for me, please lmk if I did something wrong or if this is a geniune bug.