Skip to content

Commit 8e73104

Browse files
committed
model-path interface
1 parent 669bd79 commit 8e73104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

direct/src/tkwidgets/Tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from pandac.PandaModules import *
2323

2424
# Initialize icon directory
25-
ICONDIR = getModelPath().findFile(Filename('icons')).toOsSpecific()
25+
ICONDIR = ConfigVariableSearchPath('model-path').findFile(Filename('icons')).toOsSpecific()
2626
if not os.path.isdir(ICONDIR):
2727
raise RuntimeError, "can't find DIRECT icon directory (%s)" % `ICONDIR`
2828

0 commit comments

Comments
 (0)