From 34132635166039d0fec46c27a6dca5e61db62b1a Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 5 Aug 2004 03:32:38 +0000 Subject: [PATCH] don't import PandaModules here --- direct/src/task/Task.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/direct/src/task/Task.py b/direct/src/task/Task.py index b955806d12..98bcb3fd64 100644 --- a/direct/src/task/Task.py +++ b/direct/src/task/Task.py @@ -1,6 +1,12 @@ -from pandac.PandaModules import * +# This module may not import pandac.PandaModules, since it is imported +# by the Toontown Launcher before the complete PandaModules have been +# downloaded. Instead, it imports only libpandaexpressModules, the +# subset of PandaModules that we know is available immediately. +# Methods that require more advanced C++ methods may import the +# appropriate files within their own scope. from pandac.libpandaexpressModules import * + from direct.directnotify.DirectNotifyGlobal import * from direct.showbase.PythonUtil import * from direct.showbase.MessengerGlobal import *