Changeset 97 for trunk/VUT/Ogre/src/OgreSolidHalfBoundingBox.cpp
- Timestamp:
- 05/13/05 15:14:12 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/src/OgreSolidHalfBoundingBox.cpp
r91 r97 87 87 void SolidHalfBoundingBox::SetOcclusionQueryMaterial( void ) 88 88 { 89 m_pMaterial = MaterialManager::getSingleton().getByName(" OcclusionQuery");89 m_pMaterial = MaterialManager::getSingleton().getByName("QueryMaterial"); 90 90 91 91 if(m_pMaterial.isNull()) 92 92 { 93 93 m_pMaterial = MaterialManager::getSingleton(). 94 create(" OcclusionQuery", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME);94 create("QueryMaterial", ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME); 95 95 } 96 96 … … 99 99 m_pMaterial->setLightingEnabled(false); 100 100 101 setMaterial(" OcclusionQuery");101 setMaterial("QueryMaterial"); 102 102 } 103 103
Note: See TracChangeset
for help on using the changeset viewer.