Explorar el Código

Removed setPath line

Tentone hace 7 años
padre
commit
26de91c4a5
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      examples/js/loaders/GCodeLoader.js

+ 0 - 1
examples/js/loaders/GCodeLoader.js

@@ -21,7 +21,6 @@ THREE.GCodeLoader.prototype.load = function ( url, onLoad, onProgress, onError )
 	var self = this;
 
 	var loader = new THREE.FileLoader( self.manager );
-	loader.setPath( this.path );
 	loader.load( url, function ( text ) {
 
 		onLoad( self.parse( text ) );