MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / getMaterial

Method getMaterial

Tools/MaterialEditor/MaterialEditor/src/WorkspacePanel.cpp:212–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212MaterialController* WorkspacePanel::getMaterial(wxTreeItemId id)
213{
214 for(MaterialIdMap::iterator it = mMaterialIdMap.begin(); it != mMaterialIdMap.end(); ++it)
215 {
216 if(it->second == id) return it->first;
217 }
218
219 return NULL;
220}
221
222TechniqueController* WorkspacePanel::getTechnique(wxTreeItemId id)
223{

Callers 3

OnEditMethod · 0.45
projectMaterialAddedMethod · 0.45
materialNameChangedMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected