2
0
Эх сурвалжийг харах

fixed 2e-XXX values in fbx (no dot)

ncannasse 12 жил өмнө
parent
commit
2aa3ae7381
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      h3d/fbx/Parser.hx

+ 1 - 1
h3d/fbx/Parser.hx

@@ -237,7 +237,7 @@ class Parser {
 					do {
 						c = nextChar();
 					} while( c >= '0'.code && c <= '9'.code );
-					if( c != '.'.code && pos - start < 10 ) {
+					if( c != '.'.code && c != 'E'.code && c != 'e'.code && pos - start < 10 ) {
 						pos--;
 						return TInt(getBuf(start, pos - start));
 					}