|
@@ -1,12 +1,13 @@
|
|
|
import { SceneGuide, sdk } from "../sdk";
|
|
|
import { toRaw, ref, watch, watchEffect, computed } from "vue";
|
|
|
-import { viewModeStack, showLeftPanoStack, custom, showTaggingsStack, showPathsStack, showMeasuresStack, showSearchStack, showViewSettingStack } from "@/env";
|
|
|
+import { viewModeStack, showLeftPanoStack, custom, showTaggingsStack, showPathsStack, showMeasuresStack, showSearchStack, showViewSettingStack, showModeTabStack } from "@/env";
|
|
|
import { togetherCallback, asyncTimeout } from "@/utils";
|
|
|
import { fuseModels, isEdit, sysBus, fuseModelsLoaded, selectPaths } from "@/store";
|
|
|
import type { FuseModel, FuseModels, Guide, GuidePath } from "@/store";
|
|
|
import { analysisPoseInfo } from ".";
|
|
|
import { fullView, isScenePlayRun, pauseScene, playScene } from "@/utils/full";
|
|
|
import { animationGroup, currentTime, play } from "./animation";
|
|
|
+import { mergeFuns } from "@/components/drawing/hook";
|
|
|
|
|
|
// -----------------导览关联--------------------
|
|
|
|
|
@@ -117,7 +118,12 @@ export const playSceneGuide = (
|
|
|
showSearchStack.push(ref(false))
|
|
|
]
|
|
|
if (forceFull) {
|
|
|
- cleanups.push(showViewSettingStack.push(ref(false)))
|
|
|
+ cleanups.push(
|
|
|
+ mergeFuns([
|
|
|
+ showViewSettingStack.push(ref(false)),
|
|
|
+ showModeTabStack.push(ref(false)),
|
|
|
+ ])
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
pop = togetherCallback(cleanups)
|