@@ -37,10 +37,9 @@ TypeHandle EggData::_type_handle;
3737// Function: EggData::resolve_egg_filename
3838// Access: Public, Static
3939// Description: Looks for the indicated filename, first along the
40- // indicated searchpath, and then along the egg_path and
41- // finally along the model_path. If found, updates the
42- // filename to the full path and returns true;
43- // otherwise, returns false.
40+ // indicated searchpath, and then along the model_path.
41+ // If found, updates the filename to the full path and
42+ // returns true; otherwise, returns false.
4443// //////////////////////////////////////////////////////////////////
4544bool EggData::
4645resolve_egg_filename (Filename &egg_filename, const DSearchPath &searchpath) {
@@ -51,7 +50,6 @@ resolve_egg_filename(Filename &egg_filename, const DSearchPath &searchpath) {
5150 }
5251
5352 vfs->resolve_filename (egg_filename, searchpath, " egg" ) ||
54- vfs->resolve_filename (egg_filename, egg_path, " egg" ) ||
5553 vfs->resolve_filename (egg_filename, get_model_path (), " egg" );
5654
5755 return vfs->exists (egg_filename);
0 commit comments