Skip to content

Commit f32dc3c

Browse files
committed
tkpanels: add missing AnimPanel imports
1 parent 4d33db2 commit f32dc3c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

direct/src/tkpanels/AnimPanel.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@
99
# Import Tkinter, Pmw, and the floater code from this directory tree.
1010
from direct.tkwidgets.AppShell import *
1111
from direct.showbase.TkGlobal import *
12-
import Pmw, sys
12+
import Pmw, sys, os
1313
from direct.task import Task
14+
from panda3d.core import Filename, getModelPath
1415

1516
if sys.version_info >= (3, 0):
1617
from tkinter.simpledialog import askfloat
18+
from tkinter.filedialog import askopenfilename
1719
else:
1820
from tkSimpleDialog import askfloat
21+
from tkFileDialog import askopenfilename
1922

2023

2124
FRAMES = 0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy