Selaa lähdekoodia

Update to squeeze panda modules and not showBaseGlobals

Mark Mine 22 vuotta sitten
vanhempi
sitoutus
2e89604634
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      direct/src/showbase/pandaSqueezeTool.py

+ 1 - 1
direct/src/showbase/pandaSqueezeTool.py

@@ -340,7 +340,7 @@ try:
 except KeyError:
 except KeyError:
   print "Warning: environment variable DIRECT is not set."
   print "Warning: environment variable DIRECT is not set."
   directroot = ""
   directroot = ""
-archivePath = directroot + "\src\showbase\\%(archive)s"
+archivePath = directroot + "\\lib\\py\\%(archive)s"
 f=open(archivePath,"rb")
 f=open(archivePath,"rb")
 exec marshal.loads(%(zbegin)sf.read(%(loaderlen)d)%(zend)s)
 exec marshal.loads(%(zbegin)sf.read(%(loaderlen)d)%(zend)s)
 boot("%(app)s",f,%(size)d)
 boot("%(app)s",f,%(size)d)