Explorar el Código

return this on copy

Al McElrath hace 10 años
padre
commit
991b8fa7c3
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 () {