浏览代码

Fix GUI validation test hanging

Popov72 4 年之前
父节点
当前提交
24823264c0
共有 1 个文件被更改,包括 1 次插入0 次删除
  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._onResize();
         }
+        this._texture.isReady = true;
     }
     /**
     * Get the current class name of the texture useful for serialization or dynamic coding.