فهرست منبع

Merge pull request #7472 from yrns/lightshadow-copy-this

return this on copy
Mr.doob 10 سال پیش
والد
کامیت
1b369f2147
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 () {