1
0
Fork 0

- added implementation for method get_step

This commit is contained in:
curt 2001-06-26 22:00:21 +00:00
parent 7a723244a0
commit 2b6873903c

View file

@ -61,6 +61,7 @@ FGMaterialLib material_lib;
// Constructor
FGMaterialLib::FGMaterialLib ( void ) {
set_step(0);
}
@ -297,6 +298,14 @@ void FGMaterialLib::set_step ( int step )
}
// Get the step for the state selectors
int FGMaterialLib::get_step ()
{
material_map_iterator it = begin();
return it->second->get_state()->getSelectStep();
}
// Load one pending "deferred" texture. Return true if a texture
// loaded successfully, false if no pending, or error.
void FGMaterialLib::load_next_deferred() {