Просмотр исходного кода

Merge pull request #15934 from takahirox/MinorCleanupSEA3D

Minor clean up SEA3D.js
Mr.doob 7 лет назад
Родитель
Сommit
102495fb86
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      examples/js/loaders/sea3d/SEA3D.js

+ 1 - 2
examples/js/loaders/sea3d/SEA3D.js

@@ -3240,9 +3240,8 @@ SEA3D.File.prototype.load = function ( url ) {
 
 	xhr.open( "GET", url, true );
 
-	if (!this.config.path) {
+	if ( ! this.config.path ) {
 
-//		this.config.path = THREE.Loader.prototype.extractUrlBase( url );
 		this.config.path = THREE.LoaderUtils.extractUrlBase( url );
 
 	}

粤ICP备19079148号