浏览代码

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 () {
 THREE.HemisphereLight.prototype.clone = function () {
 
 
-	var light = new THREE.PointLight();
+	var light = new THREE.HemisphereLight();
 
 
 	THREE.Light.prototype.clone.call( this, light );
 	THREE.Light.prototype.clone.call( this, light );