Bugfix: Missing import dependencies for AstronInternalRepository.py and ClientRepository.py

This commit is contained in:
kestred 2014-02-14 14:26:07 -07:00
parent e5bb27b46b
commit ace98d1572
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
from direct.distributed.CachedDOData import CachedDOData
# This has to be imported for __builtin__.config
from direct.showbase import ShowBase
__all__ = ["CRDataCache"]
class CRDataCache:
# Stores cached data for DistributedObjects between instantiations on the client

View File

@ -1,6 +1,6 @@
from direct.showbase.DirectObject import DirectObject
#from direct.directnotify.DirectNotifyGlobal import directNotify
from direct.directnotify import DirectNotifyGlobal
class DistributedObjectBase(DirectObject):
"""
@ -8,7 +8,7 @@ class DistributedObjectBase(DirectObject):
(i.e. distributed) objects. These will usually (always?) have a
dclass entry in a *.dc file.
"""
notify = directNotify.newCategory("DistributedObjectBase")
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedObjectBase")
def __init__(self, cr):
assert self.notify.debugStateCall(self)