Browse Source

BaseLibrary: better error

lviguier 9 months ago
parent
commit
e8d3dfe636
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hxd/fmt/fbx/BaseLibrary.hx

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

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