16 lines
411 B
C++
16 lines
411 B
C++
|
|
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#include "AIBase.hxx"
|
|
#include "AIModelData.hxx"
|
|
|
|
void FGAIModelData::modelLoaded(const string& path, SGPropertyNode *prop,
|
|
osg::Node *n)
|
|
{
|
|
FGNasalModelData::modelLoaded(path, prop, n);
|
|
// SG_LOG(SG_NASAL, SG_ALERT, "FGAIModelData::modelLoaded(" << path << ")");
|
|
if(_base.valid())
|
|
_base->initModel(n);
|
|
}
|