Crashfix for 3ds Max export
This commit is contained in:
parent
9061eb8389
commit
c8dcfe8d05
1 changed files with 5 additions and 2 deletions
|
@ -293,8 +293,11 @@ 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];
|
||||||
string tmp = exclNode->GetName();
|
if (exclNode) // Crashfix // FIXME: Why is this NULL?
|
||||||
this->setExclusion.insert(tmp);
|
{
|
||||||
|
string tmp = exclNode->GetName();
|
||||||
|
this->setExclusion.insert(tmp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif // (MAX_RELEASE < 4000)
|
#endif // (MAX_RELEASE < 4000)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue