ソースを参照

return this on copy

Al McElrath 10 年 前
コミット
991b8fa7c3
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/lights/LightShadow.js

+ 2 - 0
src/lights/LightShadow.js

@@ -29,6 +29,8 @@ THREE.LightShadow.prototype = {
 
 		this.mapSize.copy( source.mapSize );
 
+		return this;
+
 	},
 
 	clone: function () {