From 429a075c797cdceecd0774dffab988d3ee47e98c Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Fri, 25 Feb 2005 23:00:33 +0000 Subject: [PATCH] better import of DirectNotifyGlobal --- direct/src/distributed/DistributedObject.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index a76f2fabcc..1469ecb6ee 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/direct/src/distributed/DistributedObject.py @@ -1,7 +1,7 @@ """DistributedObject module: contains the DistributedObject class""" from direct.showbase.PandaObject import * -from direct.directnotify.DirectNotifyGlobal import * +from direct.directnotify import DirectNotifyGlobal from PyDatagram import PyDatagram from PyDatagramIterator import PyDatagramIterator @@ -20,7 +20,7 @@ class DistributedObject(PandaObject): (i.e. distributed) objects. These will usually (always?) have a dclass entry in a *.dc file. """ - notify = directNotify.newCategory("DistributedObject") + notify = DirectNotifyGlobal.directNotify.newCategory("DistributedObject") # A few objects will set neverDisable to 1... Examples are # localToon, and anything that lives in the UberZone. This