mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +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
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue