1.93 probablem loading meshes

Blitz3D Forums/Blitz3D Bug Reports/1.93 probablem loading meshes

This one breaks my game completely


mesh1=LoadAnimMesh (body$,unit_switch)


This fails under 1.93 mesh1=0 but works with 1.91 and all previous versions.

body$ contains the relative path + filename. In this

case "\vehicles\tank\mesh\normal.b3d"

if I add the line:


exists=filetype (body$)


Then I get exists=1 confirming the file is present and correct.

EDIT: I do know how to spell problem.

I recall someone saying that the filenames are now case sensitive. Give it a try.

Jason.

yeah case sensitivity messed up something I have been playing with a long while too.

Glad I now know it wasnt me.

anything.b3d
anything.B3D

top one loads bottom one wont (unless I change the actual filename to B3D!

hmmm...case sensitive filenames! Bad idea.


IPete2.

hmmm...case sensitive filenames! Bad idea.

Agreed x 1000

This must have been an accidental 'feature' update. There was a problem with strings in 1.92, and this is string related, so...

Add lower$(filename) function when you use LoadMesh or LoadAnimMesh.