mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
bah, improper import of DCFile
This commit is contained in:
parent
51d420ed81
commit
c520c7a520
@ -1903,6 +1903,7 @@ class Packager:
|
||||
symbols are meaningful at runtime. """
|
||||
|
||||
# First, read in the dc file
|
||||
from panda3d.direct import DCFile
|
||||
dcFile = DCFile()
|
||||
if not dcFile.read(file.filename):
|
||||
self.notify.error("Unable to parse %s." % (file.filename))
|
||||
@ -1919,6 +1920,7 @@ class Packager:
|
||||
""" Adds the Python modules named by the indicated dc
|
||||
file. """
|
||||
|
||||
from panda3d.direct import DCFile
|
||||
dcFile = DCFile()
|
||||
if not dcFile.read(file.filename):
|
||||
self.notify.error("Unable to parse %s." % (file.filename))
|
||||
|
Loading…
x
Reference in New Issue
Block a user