LoadMesh / LoadAnimMesh Error with BM 1.33

BlitzMax Forums/MiniB3D Module/LoadMesh / LoadAnimMesh Error with BM 1.33

Dreamora(Posted 2009) [#1]
As the stream handling seems to have slightly changed, replace ReadTag in inc/TModel.bmx with this

Function ReadTag$(file:TStream)
	
	Local pos=StreamPos(file)
	
	Local tag$=""
	If pos < StreamSize(file)
		For Local i = 1 To 4
		
			Local rb=ReadByte(file)
		
			tag$=tag$+Chr$(rb)
		
		Next
	endif
	
	SeekStream(file,pos)
	
	Return tag$
	
End Function



Want to thank simonh again for the great work he did there.


plash(Posted 2009) [#2]
http://www.blitzbasic.com/Community/posts.php?topic=83935


*(Posted 2009) [#3]
would be nice to see this hit the official release :)