瀏覽代碼

support walking in oobe mode

David Rose 23 年之前
父節點
當前提交
2e8c95c73d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      direct/src/showbase/ShowBase.py

+ 2 - 2
direct/src/showbase/ShowBase.py

@@ -720,7 +720,7 @@ class ShowBase:
                 self.oobeVis.reparentTo(self.hidden)
                 self.oobeVis.reparentTo(self.hidden)
 
 
             # Restore the mouse interface node.
             # Restore the mouse interface node.
-            self.mouseInterface.reparentTo(self.mouseWatcher)
+            #self.mouseInterface.reparentTo(self.mouseWatcher)
             self.oobeTrackball.reparentTo(self.dataUnused)
             self.oobeTrackball.reparentTo(self.dataUnused)
                 
                 
             self.cam.reparentTo(self.camera)
             self.cam.reparentTo(self.camera)
@@ -735,7 +735,7 @@ class ShowBase:
 
 
             # Move aside the current mouse interface node and put the
             # Move aside the current mouse interface node and put the
             # oobeTrackball in its place.
             # oobeTrackball in its place.
-            self.mouseInterface.reparentTo(self.dataUnused)
+            #self.mouseInterface.reparentTo(self.dataUnused)
             self.oobeTrackball.reparentTo(self.mouseWatcher)
             self.oobeTrackball.reparentTo(self.mouseWatcher)
 
 
             # Set our initial OOB position to be just behind the camera.
             # Set our initial OOB position to be just behind the camera.