Browse Source

Fix GUI validation test hanging

Popov72 4 years ago
parent
commit
24823264c0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gui/src/2D/advancedDynamicTexture.ts

+ 1 - 0
gui/src/2D/advancedDynamicTexture.ts

@@ -359,6 +359,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
             this._resizeObserver = scene.getEngine().onResizeObservable.add(() => this._onResize());
             this._resizeObserver = scene.getEngine().onResizeObservable.add(() => this._onResize());
             this._onResize();
             this._onResize();
         }
         }
+        this._texture.isReady = true;
     }
     }
     /**
     /**
     * Get the current class name of the texture useful for serialization or dynamic coding.
     * Get the current class name of the texture useful for serialization or dynamic coding.