| 1842 | } |
| 1843 | |
| 1844 | void TSStatic::setSelectionFlags(U8 flags) |
| 1845 | { |
| 1846 | Parent::setSelectionFlags(flags); |
| 1847 | |
| 1848 | if (!mShapeInstance || !isClientObject()) |
| 1849 | return; |
| 1850 | |
| 1851 | if (!mShapeInstance->ownMaterialList()) |
| 1852 | return; |
| 1853 | |
| 1854 | TSMaterialList* pMatList = mShapeInstance->getMaterialList(); |
| 1855 | for (S32 j = 0; j < pMatList->size(); j++) |
| 1856 | { |
| 1857 | BaseMatInstance* bmi = pMatList->getMaterialInst(j); |
| 1858 | bmi->setSelectionHighlighting(needsSelectionHighlighting()); |
| 1859 | } |
| 1860 | } |
| 1861 | |
| 1862 | bool TSStatic::hasNode(const char* nodeName) |
| 1863 | { |
no test coverage detected