mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
find dc files
This commit is contained in:
parent
d8471bdf32
commit
a357f6b8cd
@ -1729,7 +1729,7 @@ class Packager:
|
||||
|
||||
# Text files that are copied (and compressed) to the package
|
||||
# without processing.
|
||||
self.textExtensions = [ 'prc', 'ptf', 'txt', 'cg', 'sha' ]
|
||||
self.textExtensions = [ 'prc', 'ptf', 'txt', 'cg', 'sha', 'dc' ]
|
||||
|
||||
# Binary files that are copied (and compressed) without
|
||||
# processing.
|
||||
@ -2800,6 +2800,9 @@ class Packager:
|
||||
if not newDir:
|
||||
newDir = ''
|
||||
|
||||
# Adding the directory to sys.path is a cheesy way to help the
|
||||
# modulefinder find it.
|
||||
sys.path.append(dirname.toOsSpecific())
|
||||
self.__recurseDir(dirname, newDir, unprocessed = unprocessed)
|
||||
|
||||
def __recurseDir(self, filename, newName, unprocessed = None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user