mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
tkpanels: add missing AnimPanel imports
This commit is contained in:
parent
4d33db2028
commit
f32dc3cf2b
@ -9,13 +9,16 @@ __all__ = ['AnimPanel', 'ActorControl']
|
||||
# Import Tkinter, Pmw, and the floater code from this directory tree.
|
||||
from direct.tkwidgets.AppShell import *
|
||||
from direct.showbase.TkGlobal import *
|
||||
import Pmw, sys
|
||||
import Pmw, sys, os
|
||||
from direct.task import Task
|
||||
from panda3d.core import Filename, getModelPath
|
||||
|
||||
if sys.version_info >= (3, 0):
|
||||
from tkinter.simpledialog import askfloat
|
||||
from tkinter.filedialog import askopenfilename
|
||||
else:
|
||||
from tkSimpleDialog import askfloat
|
||||
from tkFileDialog import askopenfilename
|
||||
|
||||
|
||||
FRAMES = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user