mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Let prim checker only open files with ig extension
This commit is contained in:
parent
9ef5fcaacd
commit
0d317d64c6
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ bool CPrimChecker::build(const string &primitivesPath, const string &igLandPath,
|
||||||
// load ig associated to the zone
|
// load ig associated to the zone
|
||||||
string igname = files[i];
|
string igname = files[i];
|
||||||
|
|
||||||
|
if (CFile::getExtension(igname) != "ig")
|
||||||
|
continue;
|
||||||
|
|
||||||
string ignamelookup = CPath::lookup(igname);
|
string ignamelookup = CPath::lookup(igname);
|
||||||
//nlinfo("Reading ig '%s'", ignamelookup.c_str());
|
//nlinfo("Reading ig '%s'", ignamelookup.c_str());
|
||||||
CIFile igStream(ignamelookup);
|
CIFile igStream(ignamelookup);
|
||||||
|
|
Loading…
Reference in a new issue