markcwm / openb3d.mod

OpenB3D BlitzMax wrapper, see openb3d.docs for examples
18 stars 7 forks source link

TextureName is broken #10

Closed Kippykip closed 5 years ago

Kippykip commented 5 years ago

TextureName returns a bunch of weird characters, but not the file path of the loaded texture like it should. Returns "��" when it should return something like "wcrate.jpg"

markcwm commented 5 years ago

Yes it was, thanks. It should be fixed now in the latest 172dc1bce589f07b02e20f82d66012fb7db8d172. I never noticed, it was "return tex->TextureName().c_str()" I think this was a temp string and went out of scope.

Kippykip commented 5 years ago

Confirmed to be fixed now, cheers!