diff --git a/direct/src/p3d/panda3d.pdef b/direct/src/p3d/panda3d.pdef index 59e53cb39b..690ee16227 100644 --- a/direct/src/p3d/panda3d.pdef +++ b/direct/src/p3d/panda3d.pdef @@ -241,7 +241,10 @@ class models(package): # we assume this is the models directory. pathname = getModelPath().findFile('cmss12.egg') if pathname: - dir(pathname.getDirname(), newDir = '') + dir(pathname.getDirname(), newDir = 'models') + + # Some people are used to loading the models without models/ prefix. + file('models.prc', extract = True, text = "model-path $MODELS_ROOT/models") class fmod(package):