Prechádzať zdrojové kódy

make notify always exist for trunk-publish testing

TODO: somebody fix this!
Joseph Lee 20 rokov pred
rodič
commit
f718cd20b2

+ 3 - 3
direct/src/distributed/DoInterestManager.py

@@ -18,9 +18,9 @@ class DoInterestManager(DirectObject.DirectObject):
     """
     Top level Interest Manager
     """
-    if __debug__:
-        from direct.directnotify.DirectNotifyGlobal import directNotify
-        notify = directNotify.newCategory("DoInterestManager")
+    #if __debug__:      is this production ready?
+    from direct.directnotify.DirectNotifyGlobal import directNotify
+    notify = directNotify.newCategory("DoInterestManager")
 
     _interestIdAssign = 1
     _interestIdScopes = 100