Kaynağa Gözat

Merge pull request #13926 from 06wj/patch2

Add missing isCanvasTexture property
Mr.doob 7 yıl önce
ebeveyn
işleme
4d898b7006
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 };