David Catuhe 8 years ago
parent
commit
5dfa40ab8c

File diff suppressed because it is too large
+ 2 - 2
dist/preview release/babylon.core.js


File diff suppressed because it is too large
+ 1036 - 1036
dist/preview release/babylon.d.ts


File diff suppressed because it is too large
+ 2 - 2
dist/preview release/babylon.js


+ 0 - 3
dist/preview release/babylon.max.js

@@ -25038,9 +25038,6 @@ var BABYLON;
             this._lastUpdate = BABYLON.Tools.Now;
         }
         VideoTexture.prototype._createTexture = function () {
-            if (this.video.videoWidth === 0 || this.video.videoHeight === 0) {
-                return;
-            }
             this._texture = this.getScene().getEngine().createDynamicTexture(this.video.videoWidth, this.video.videoHeight, this._generateMipMaps, this._samplingMode);
             this._texture.isReady = true;
         };

File diff suppressed because it is too large
+ 2 - 2
dist/preview release/babylon.noworker.js


+ 0 - 3
src/Materials/Textures/babylon.videoTexture.ts

@@ -60,9 +60,6 @@
         }
 
         private _createTexture(): void {
-            if (this.video.videoWidth === 0 || this.video.videoHeight === 0) {
-                return;
-            }
             this._texture = this.getScene().getEngine().createDynamicTexture(this.video.videoWidth, this.video.videoHeight, this._generateMipMaps, this._samplingMode);
             this._texture.isReady = true;
         }