This is needed for latest SimGear to fix scene model
unload not being called
{
}
+ virtual FGAIModelData* clone() const { return new FGAIModelData(); }
+
/** osg callback, thread-safe */
void modelLoaded(const std::string& path, SGPropertyNode *prop, osg::Node *n)
{
* model.
*/
static naRef f_node_getPose( const osg::Node& node,
- const nasal::CallContext& ctx )
+ const nasal::CallContext& ctx )
{
osg::NodePathList parent_paths = node.getParentalNodePaths();
for( osg::NodePathList::const_iterator path = parent_paths.begin();
SGPropertyNode *prop,
osg::Node *branch );
+ virtual FGNasalModelDataProxy* clone() const { return new FGNasalModelDataProxy(_root); }
+
protected:
SGPropertyNode_ptr _root;
FGNasalModelDataRef _data;