Crashfix for 3ds Max export

This commit is contained in:
kaetemi 2014-07-30 20:56:28 +02:00
parent 6b6f4fac2f
commit 71d16b0e24

View file

@ -293,9 +293,12 @@ void SLightBuild::convertFromMaxLight (INode *node,TimeValue tvTime)
for (sint i = 0; i < exclusionList.Count(); ++i)
{
INode *exclNode = exclusionList[i];
if (exclNode) // Crashfix // FIXME: Why is this NULL?
{
string tmp = exclNode->GetName();
this->setExclusion.insert(tmp);
}
}
#endif // (MAX_RELEASE < 4000)
// Get Soft Shadow information