David Catuhe преди 5 години
родител
ревизия
aaba3353e1
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/scene.ts

+ 4 - 0
src/scene.ts

@@ -3908,6 +3908,10 @@ export class Scene extends AbstractScene implements IAnimatable {
             return;
         }
 
+        if (this.onReadyObservable.hasObservers() && this._executeWhenReadyTimeoutId === -1) {
+            this._checkIsReady();
+        }
+
         this._frameId++;
 
         // Register components that have been associated lately to the scene.