1.93 probablem loading meshes

Archives Forums/Blitz3D Bug Reports/1.93 probablem loading meshes

John Pickford(Posted 2006) [#1]
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.


QuickSilva(Posted 2006) [#2]
I recall someone saying that the filenames are now case sensitive. Give it a try.

Jason.


IPete2(Posted 2006) [#3]
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.


John Blackledge(Posted 2006) [#4]
hmmm...case sensitive filenames! Bad idea.

Agreed x 1000


big10p(Posted 2006) [#5]
This must have been an accidental 'feature' update. There was a problem with strings in 1.92, and this is string related, so...


Mikele(Posted 2006) [#6]
Add lower$(filename) function when you use LoadMesh or LoadAnimMesh.