Bugfix: Missing import dependencies for AstronInternalRepository.py and ClientRepository.py
This commit is contained in:
parent
e5bb27b46b
commit
ace98d1572
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue