Sebastien Vandenberghe %!s(int64=7) %!d(string=hai) anos
pai
achega
0731c7320c

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 5731 - 5731
Playground/babylon.d.txt


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 5731 - 5731
dist/preview release/babylon.d.ts


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/babylon.js


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

@@ -64734,10 +64734,9 @@ var BABYLON;
             _this._stillImageCaptured = false;
             _this._createInternalTexture = function () {
                 if (_this._texture != null) {
-                    if (!_this.isReady) {
+                    if (!_this._texture.isReady) {
                         _this._texture.isReady = true;
                         _this._updateInternalTexture();
-                        _this._createInternalTexture();
                     }
                     return;
                 }
@@ -64755,7 +64754,6 @@ var BABYLON;
                 if (_this.video.readyState >= _this.video.HAVE_CURRENT_DATA) {
                     _this._texture.isReady = true;
                     _this._updateInternalTexture();
-                    _this._createInternalTexture();
                 }
                 if (_this._onLoadObservable && _this._onLoadObservable.hasObservers()) {
                     _this.onLoadObservable.notifyObservers(_this);

+ 1 - 3
dist/preview release/babylon.no-module.max.js

@@ -64701,10 +64701,9 @@ var BABYLON;
             _this._stillImageCaptured = false;
             _this._createInternalTexture = function () {
                 if (_this._texture != null) {
-                    if (!_this.isReady) {
+                    if (!_this._texture.isReady) {
                         _this._texture.isReady = true;
                         _this._updateInternalTexture();
-                        _this._createInternalTexture();
                     }
                     return;
                 }
@@ -64722,7 +64721,6 @@ var BABYLON;
                 if (_this.video.readyState >= _this.video.HAVE_CURRENT_DATA) {
                     _this._texture.isReady = true;
                     _this._updateInternalTexture();
-                    _this._createInternalTexture();
                 }
                 if (_this._onLoadObservable && _this._onLoadObservable.hasObservers()) {
                     _this.onLoadObservable.notifyObservers(_this);

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/babylon.worker.js


+ 1 - 3
dist/preview release/es6.js

@@ -64701,10 +64701,9 @@ var BABYLON;
             _this._stillImageCaptured = false;
             _this._createInternalTexture = function () {
                 if (_this._texture != null) {
-                    if (!_this.isReady) {
+                    if (!_this._texture.isReady) {
                         _this._texture.isReady = true;
                         _this._updateInternalTexture();
-                        _this._createInternalTexture();
                     }
                     return;
                 }
@@ -64722,7 +64721,6 @@ var BABYLON;
                 if (_this.video.readyState >= _this.video.HAVE_CURRENT_DATA) {
                     _this._texture.isReady = true;
                     _this._updateInternalTexture();
-                    _this._createInternalTexture();
                 }
                 if (_this._onLoadObservable && _this._onLoadObservable.hasObservers()) {
                     _this.onLoadObservable.notifyObservers(_this);

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/viewer/babylon.viewer.js


+ 1 - 3
dist/preview release/viewer/babylon.viewer.max.js

@@ -64822,10 +64822,9 @@ var BABYLON;
             _this._stillImageCaptured = false;
             _this._createInternalTexture = function () {
                 if (_this._texture != null) {
-                    if (!_this.isReady) {
+                    if (!_this._texture.isReady) {
                         _this._texture.isReady = true;
                         _this._updateInternalTexture();
-                        _this._createInternalTexture();
                     }
                     return;
                 }
@@ -64843,7 +64842,6 @@ var BABYLON;
                 if (_this.video.readyState >= _this.video.HAVE_CURRENT_DATA) {
                     _this._texture.isReady = true;
                     _this._updateInternalTexture();
-                    _this._createInternalTexture();
                 }
                 if (_this._onLoadObservable && _this._onLoadObservable.hasObservers()) {
                     _this.onLoadObservable.notifyObservers(_this);

+ 1 - 4
src/Materials/Textures/babylon.videoTexture.ts

@@ -120,12 +120,10 @@
 
         private _createInternalTexture = (): void => {
             if (this._texture != null) {
-                if (!this.isReady) {
+                if (!this._texture.isReady) {
                     this._texture.isReady = true;
                     this._updateInternalTexture();
-                    this._createInternalTexture();
                 }
-                
                 return;
             }
 
@@ -151,7 +149,6 @@
             if (this.video.readyState >= this.video.HAVE_CURRENT_DATA) {
                 this._texture.isReady = true;
                 this._updateInternalTexture();
-                this._createInternalTexture();
             }
 
             if (this._onLoadObservable && this._onLoadObservable.hasObservers()) {