gemercheung 3 tahun lalu
induk
melakukan
d8ec4c2132
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      src/scene/scene.service.ts

+ 4 - 0
src/scene/scene.service.ts

@@ -713,6 +713,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
         console.log('不存在--path', path);
         this.cleanMoveSteam();
         this.clearWalkingJoints();
+        this.resumeRotate();
         this.resumeStream();
         return;
       }
@@ -1353,6 +1354,8 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
               this.onRotating.value +
               ' onJoysticking: ' +
               this.onJoysticking.value +
+              ' onSteaming: ' +
+              this.onSteaming +
               ' firstRender: ' +
               this.firstRender,
             );
@@ -1363,6 +1366,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
             !this.onMoving.value &&
             !this.onRotating.value &&
             !this.onJoysticking.value &&
+            this.onSteaming &&
             this.firstRender
           ) {
             const redisDataAuto = await this.rotateService.echo(