Explorar o código

Property isReady set too early

Popov72 %!s(int64=5) %!d(string=hai) anos
pai
achega
002460178c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      gui/src/2D/advancedDynamicTexture.ts

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

@@ -357,7 +357,6 @@ 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.