Browse Source

return this on copy

Al McElrath 10 năm trước cách đây
mục cha
commit
991b8fa7c3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 () {