人生啊人生 10 bulan lalu
induk
melakukan
3e5213d4a1

+ 3 - 1
src/components/student/CourseChapter3d.vue

@@ -106,12 +106,12 @@ const callbackLoadEndEvent = (json : { 'roleChoiceOpenBool' : true }) => {
     if (json["roleChoiceOpenBool"] === true) {
         // ############################## 隐藏其他按钮界面等
         threeWorld().loadSuccess = false;
-        initScene();
         return;
     }
 
     // ############################## 这个时候,是真正的进入3d画面了,才显示其他按钮界面等
     threeWorld().loadSuccess = true;
+    initScene();
     
 }
 
@@ -150,6 +150,8 @@ const initScene = () => {
         objNewIframe.objIframe.BABYLON
     );
 
+    ThreeWorldEventMain.find().groundNoRemove();
+
     ThreeWorldEvent.find().initObj(
         objNewIframe,
         objNewIframe.objIframe,

+ 0 - 1
src/components/student/ThreeWorldEvent/js/ThreeWorldEvent.ts

@@ -188,7 +188,6 @@ export class ThreeWorldEvent {
         //     objMesh, objPosition, getNormal
         // );
         
-        
     }