mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 01:40:13 +00:00
Crashfix for 3ds Max export
This commit is contained in:
parent
6b6f4fac2f
commit
71d16b0e24
1 changed files with 5 additions and 2 deletions
|
@ -293,9 +293,12 @@ void SLightBuild::convertFromMaxLight (INode *node,TimeValue tvTime)
|
||||||
for (sint i = 0; i < exclusionList.Count(); ++i)
|
for (sint i = 0; i < exclusionList.Count(); ++i)
|
||||||
{
|
{
|
||||||
INode *exclNode = exclusionList[i];
|
INode *exclNode = exclusionList[i];
|
||||||
|
if (exclNode) // Crashfix // FIXME: Why is this NULL?
|
||||||
|
{
|
||||||
string tmp = exclNode->GetName();
|
string tmp = exclNode->GetName();
|
||||||
this->setExclusion.insert(tmp);
|
this->setExclusion.insert(tmp);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif // (MAX_RELEASE < 4000)
|
#endif // (MAX_RELEASE < 4000)
|
||||||
|
|
||||||
// Get Soft Shadow information
|
// Get Soft Shadow information
|
||||||
|
|
Loading…
Reference in a new issue