We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669bd79 commit 8e73104Copy full SHA for 8e73104
direct/src/tkwidgets/Tree.py
@@ -22,7 +22,7 @@
22
from pandac.PandaModules import *
23
24
# Initialize icon directory
25
-ICONDIR = getModelPath().findFile(Filename('icons')).toOsSpecific()
+ICONDIR = ConfigVariableSearchPath('model-path').findFile(Filename('icons')).toOsSpecific()
26
if not os.path.isdir(ICONDIR):
27
raise RuntimeError, "can't find DIRECT icon directory (%s)" % `ICONDIR`
28
0 commit comments