Skip to content

Commit 9348cf6

Browse files
committed
Prevent packp3d from including xml and panda3d modules in every .p3d
1 parent 2745f11 commit 9348cf6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

direct/src/distributed/ClockDelta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ClockDelta provides the ability to use clock synchronization for
22
# distributed objects
33

4-
from pandac.PandaModules import *
4+
from panda3d.core import ClockObject
55
from direct.directnotify import DirectNotifyGlobal
66
from direct.showbase import DirectObject
77
import math

direct/src/p3d/panda3d.pdef

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ class panda3d(package):
103103

104104
excludeModule('MySQLdb', '_mysql')
105105

106-
excludeModule('xml', 'xml.parsers.expat', 'xml.sax')
107-
108106
# Most of the core Panda3D DLL's will be included implicitly due to
109107
# being referenced by the above Python code. Here we name a few more
110108
# that are also needed, but aren't referenced by any code. Again,

0 commit comments

Comments
 (0)