Преглед изворни кода

Add missing isCanvasTexture property

06wj пре 7 година
родитељ
комит
54fdf6304b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/textures/CanvasTexture.js

+ 1 - 1
src/textures/CanvasTexture.js

@@ -14,6 +14,6 @@ function CanvasTexture( canvas, mapping, wrapS, wrapT, magFilter, minFilter, for
 
 CanvasTexture.prototype = Object.create( Texture.prototype );
 CanvasTexture.prototype.constructor = CanvasTexture;
-
+CanvasTexture.prototype.isCanvasTexture = true;
 
 export { CanvasTexture };

粤ICP备19079148号