Browse Source

dgui: store guiItems on ShowBase class dict instead of module

rdb 6 years ago
parent
commit
062460cbe0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/gui/DirectGuiBase.py

+ 1 - 1
direct/src/gui/DirectGuiBase.py

@@ -81,7 +81,7 @@ __all__ = ['DirectGuiBase', 'DirectGuiWidget']
 
 from panda3d.core import *
 from direct.showbase import ShowBaseGlobal
-from direct.showbase import ShowBase
+from direct.showbase.ShowBase import ShowBase
 from . import DirectGuiGlobals as DGG
 from .OnscreenText import *
 from .OnscreenGeom import *