Преглед на файлове

HemisphereLight#clone() should create a new HemisphereLight, not a PointLight

Isaac Sukin преди 12 години
родител
ревизия
433d1bd574
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/lights/HemisphereLight.js

+ 1 - 1
src/lights/HemisphereLight.js

@@ -17,7 +17,7 @@ THREE.HemisphereLight.prototype = Object.create( THREE.Light.prototype );
 
 THREE.HemisphereLight.prototype.clone = function () {
 
-	var light = new THREE.PointLight();
+	var light = new THREE.HemisphereLight();
 
 	THREE.Light.prototype.clone.call( this, light );