mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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
|
# Text files that are copied (and compressed) to the package
|
||||||
# without processing.
|
# 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
|
# Binary files that are copied (and compressed) without
|
||||||
# processing.
|
# processing.
|
||||||
@ -2800,6 +2800,9 @@ class Packager:
|
|||||||
if not newDir:
|
if not newDir:
|
||||||
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)
|
self.__recurseDir(dirname, newDir, unprocessed = unprocessed)
|
||||||
|
|
||||||
def __recurseDir(self, filename, newName, unprocessed = None):
|
def __recurseDir(self, filename, newName, unprocessed = None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user