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

Merge pull request #13209 from webprofusion-chrisc/patch-1

GLTFExporter: force node names to be strings.
Mr.doob 7 жил өмнө
parent
commit
4a2fcf5bbb

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -1070,7 +1070,7 @@ THREE.GLTFExporter.prototype = {
 
 
 			if ( object.name ) {
 			if ( object.name ) {
 
 
-				gltfNode.name = object.name;
+				gltfNode.name = String( object.name );
 
 
 			}
 			}