Explorar o código

Adding hint for Nan found building geometry.

clementlandrin %!s(int64=2) %!d(string=hai) anos
pai
achega
8e54bd73c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hxd/fmt/fbx/BaseLibrary.hx

+ 1 - 1
hxd/fmt/fbx/BaseLibrary.hx

@@ -1371,7 +1371,7 @@ class BaseLibrary {
 	}
 
 	function round(v:Float) {
-		if( v != v ) throw "NaN found";
+		if( v != v ) throw "NaN found (could be multiple skin mesh, currently not supported)";
 		return highPrecision ? v : std.Math.fround(v * 131072) / 131072;
 	}