|
|
@ -293,14 +293,20 @@ namespace sh
|
|
|
|
while (i>0)
|
|
|
|
while (i>0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
--i;
|
|
|
|
--i;
|
|
|
|
if (m->createForConfiguration (configuration, i) && mListener)
|
|
|
|
if (m->createForConfiguration (configuration, i))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (mListener)
|
|
|
|
mListener->materialCreated (m, configuration, i);
|
|
|
|
mListener->materialCreated (m, configuration, i);
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (m->createForConfiguration (configuration, lodIndex) && mListener)
|
|
|
|
if (m->createForConfiguration (configuration, lodIndex))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (mListener)
|
|
|
|
mListener->materialCreated (m, configuration, lodIndex);
|
|
|
|
mListener->materialCreated (m, configuration, lodIndex);
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|