Dave Schuyler 21 лет назад
Родитель
Сommit
2b5d0ddb8e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      direct/src/showbase/TkGlobal.py

+ 2 - 2
direct/src/showbase/TkGlobal.py

@@ -7,7 +7,7 @@ sys.modules['_Pmw'].__name__ = '_Pmw'
 
 
 __builtins__["tkroot"] = Pmw.initialise()
 __builtins__["tkroot"] = Pmw.initialise()
 
 
-def tkloop(self):
+def tkLoop(self):
     # Do all the tkinter events waiting on this frame
     # Do all the tkinter events waiting on this frame
     # dooneevent will return 0 if there are no more events
     # dooneevent will return 0 if there are no more events
     # waiting or 1 if there are still more.
     # waiting or 1 if there are still more.
@@ -22,6 +22,6 @@ from direct.task.TaskManagerGlobal import *
 
 
 def spawnTkLoop():
 def spawnTkLoop():
     # Spawn this task
     # Spawn this task
-    taskMgr.add(tkloop, "tkloop")
+    taskMgr.add(tkLoop, "tkLoop")