Hey,
I'm making a tutorial vid for the Gmod users on how to get models into source with WWorm but when I go to do material exporting I get this error.
(https://www.wallworm.net/proxy.php?request=http%3A%2F%2Fpuu.sh%2FeGJuf%2F7f6ac99aa5.png&hash=f5408d48ebb74bb51b005f80faf4925ce55b209e)
It exports my vtf's still but it does NOT make my vmt which is a bit of a problem I'd say...
Just checked something as well, if I uncheck the vmt then I don't get the error.
and it's in the ww_struct_mat.ms file apparently.
I fixed it with just an if check
if(tempBitmap != undefined) then (
close tempBitmap
)
and now it works fine, vmt and vtf's are exported correctly and nicely.
Thanks for reporting this. The VMT export code was recently completely redesigned to work more efficiently, but obviously there was something that fell through the cracks. I'll post a general fix today with the other updates coming.
No problemo, glad to help.
Hopefully I'll post the vid I just completed later tonight. (have to cut it up and such)