Let prim checker only open files with ig extension

This commit is contained in:
kaetemi 2014-02-07 01:01:36 +01:00
parent 9ef5fcaacd
commit 0d317d64c6

View file

@ -103,6 +103,9 @@ bool CPrimChecker::build(const string &primitivesPath, const string &igLandPath,
// load ig associated to the zone
string igname = files[i];
if (CFile::getExtension(igname) != "ig")
continue;
string ignamelookup = CPath::lookup(igname);
//nlinfo("Reading ig '%s'", ignamelookup.c_str());
CIFile igStream(ignamelookup);