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