Browse Source

Prevent packp3d from including xml and panda3d modules in every .p3d

rdb 10 years ago
parent
commit
9348cf6b29
2 changed files with 1 additions and 3 deletions
  1. 1 1
      direct/src/distributed/ClockDelta.py
  2. 0 2
      direct/src/p3d/panda3d.pdef

+ 1 - 1
direct/src/distributed/ClockDelta.py

@@ -1,7 +1,7 @@
 # ClockDelta provides the ability to use clock synchronization for
 # distributed objects
 
-from pandac.PandaModules import *
+from panda3d.core import ClockObject
 from direct.directnotify import DirectNotifyGlobal
 from direct.showbase import DirectObject
 import math

+ 0 - 2
direct/src/p3d/panda3d.pdef

@@ -103,8 +103,6 @@ class panda3d(package):
 
     excludeModule('MySQLdb', '_mysql')
 
-    excludeModule('xml', 'xml.parsers.expat', 'xml.sax')
-
     # Most of the core Panda3D DLL's will be included implicitly due to
     # being referenced by the above Python code.  Here we name a few more
     # that are also needed, but aren't referenced by any code.  Again,