Просмотр исходного кода

Property isReady set too early

Popov72 5 лет назад
Родитель
Сommit
002460178c
1 измененных файлов с 0 добавлено и 1 удалено
  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.