Sfoglia il codice sorgente

Fixed LineDashedMaterial.clone

Daniel Hritzkiv 10 anni fa
parent
commit
6bab902d36
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/materials/LineDashedMaterial.js

+ 1 - 1
src/materials/LineDashedMaterial.js

@@ -46,7 +46,7 @@ THREE.LineDashedMaterial = function ( parameters ) {
 THREE.LineDashedMaterial.prototype = Object.create( THREE.Material.prototype );
 THREE.LineDashedMaterial.prototype = Object.create( THREE.Material.prototype );
 THREE.LineDashedMaterial.prototype.constructor = THREE.LineDashedMaterial;
 THREE.LineDashedMaterial.prototype.constructor = THREE.LineDashedMaterial;
 
 
-THREE.LineBasicMaterial.prototype.copy = function ( source ) {
+THREE.LineDashedMaterial.prototype.copy = function ( source ) {
 
 
 	THREE.Material.prototype.copy.call( this, source );
 	THREE.Material.prototype.copy.call( this, source );