tschw 10 лет назад
Родитель
Сommit
9220856660
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/loaders/ObjectLoader.js

+ 1 - 1
src/loaders/ObjectLoader.js

@@ -295,7 +295,7 @@ THREE.ObjectLoader.prototype = {
 
 	parseConstant: function ( json ) {
 
-		return typeof( json ) === 'number' ? json : THREE[json];
+		return typeof( json ) === 'number' ? json : THREE[ json ];
 
 	},
 

粤ICP备19079148号