diff --git a/src/Model/model_panel.cxx b/src/Model/model_panel.cxx index 8a2ec9b2f..a316243c1 100644 --- a/src/Model/model_panel.cxx +++ b/src/Model/model_panel.cxx @@ -30,7 +30,8 @@ using namespace simgear; osg::Node * fgLoad3DModelPanel(const std::string &path, SGPropertyNode *prop_root) { - osg::Node* node = SGModelLib::loadModel(path, prop_root); + bool loadPanels = true; + osg::Node* node = SGModelLib::loadModel(path, prop_root, NULL, loadPanels); if (node) node->setNodeMask(~SG_NODEMASK_TERRAIN_BIT); return node;