mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 01:40:13 +00:00
Crashfix in case pacs_prim are exported into .ig
This commit is contained in:
parent
5d2fc44ac1
commit
36d69dd2eb
1 changed files with 6 additions and 0 deletions
|
@ -699,6 +699,12 @@ int main(int argc, char* argv[])
|
||||||
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
if(group->getInstance(instance).DontCastShadow || group->getInstance(instance).DontCastShadowForExterior)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (toLower (CFile::getExtension (name)) == "pacs_prim")
|
||||||
|
{
|
||||||
|
nlwarning("EXPORT BUG: Can't read %s (not a shape), should not be part of .ig!", name.c_str());
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// PS ?
|
// PS ?
|
||||||
if (toLower (CFile::getExtension (name)) == "ps")
|
if (toLower (CFile::getExtension (name)) == "ps")
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue