Load models before counting them.
This commit is contained in:
parent
94b6d4fed5
commit
c33c58476e
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ FGNewMat::Object::~Object ()
|
|||
int
|
||||
FGNewMat::Object::get_model_count () const
|
||||
{
|
||||
load_models();
|
||||
return _models.size();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue