|
@@ -1587,7 +1587,7 @@ U32 TSStatic::getNumDetails()
|
|
|
|
|
|
void TSStatic::updateMaterials()
|
|
void TSStatic::updateMaterials()
|
|
{
|
|
{
|
|
- if (mChangingMaterials.empty() || !mShape)
|
|
|
|
|
|
+ if (mChangingMaterials.empty() || !mShapeInstance)
|
|
return;
|
|
return;
|
|
|
|
|
|
TSMaterialList* pMatList = mShapeInstance->getMaterialList();
|
|
TSMaterialList* pMatList = mShapeInstance->getMaterialList();
|