소스 검색

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 );