Jelajahi Sumber

return this on copy

Al McElrath 10 tahun lalu
induk
melakukan
991b8fa7c3
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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 () {