|
@@ -360,12 +360,8 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
|
|
|
this.latestWalkingRequest = null;
|
|
|
this.handleWalking(request);
|
|
|
}
|
|
|
- //TODO 确保moveSliceLastFrameSub不会重复
|
|
|
- // if (this.moveSliceLastFrameSub) {
|
|
|
+
|
|
|
console.log('moveSliceLastFrameSub', this.moveSliceLastFrameSub);
|
|
|
- // this.moveSliceLastFrameSub.unsubscribe();
|
|
|
- // this.moveSliceLastFrameSub = null;
|
|
|
- // }
|
|
|
|
|
|
// 监听每小段最后一帧
|
|
|
if (!this.moveSliceLastFrameSub) {
|