Modified Files:
simgear/scene/material/matlib.cxx
simgear/scene/material/matlib.hxx
}
const SGMaterial*
-SGMaterialLib::findMaterial(const osg::StateSet* stateSet) const
+SGMaterialLib::findMaterial(const osg::StateSet* stateSet)
{
if (!stateSet)
return 0;
material_map_iterator end() { return matlib.end(); }
const_material_map_iterator end() const { return matlib.end(); }
- const SGMaterial* findMaterial(const osg::StateSet* stateSet) const;
+ static const SGMaterial* findMaterial(const osg::StateSet* stateSet);
// Destructor
~SGMaterialLib ( void );