mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 00:18:43 +00:00
Crashfix in case pacs_prim are exported into .ig
This commit is contained in:
parent
98fadea8bf
commit
a119349a7e
1 changed files with 5 additions and 1 deletions
|
@ -612,6 +612,10 @@ static void computeIGBBox(const NL3D::CInstanceGroup &ig, CLightingBBox &result,
|
|||
{
|
||||
nlwarning("Unable to find shape '%s'", it->Name.c_str());
|
||||
}
|
||||
else if (toLower (CFile::getExtension (shapePathName)) == "pacs_prim")
|
||||
{
|
||||
nlwarning("EXPORT BUG: Can't read %s (not a shape), should not be part of .ig!", shapePathName.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
CIFile shapeInputFile;
|
||||
|
|
Loading…
Reference in a new issue