> Jon,
>
> Ron Jensen suggested this idea as a solution for the multiple FDM
> subtrees. It seems to work fine in FlightGear. Would it also work for
> your multiple FDM work in JSBSim/CVS?
Anders (and Ron),
I'll test this out as soon as I can. It may be a few days.
Jon
Index: src/FDM/JSBSim/FGFDMExec.cpp
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/JSBSim/FGFDMExec.cpp,v
retrieving revision 1.31
diff -u -p -r1.31 FGFDMExec.cpp
--- src/FDM/JSBSim/FGFDMExec.cpp 1 Jun 2009 08:52:34 -0000
1.31
+++ src/FDM/JSBSim/FGFDMExec.cpp 25 Jun 2009 20:36:10 -0000
@@ -186,6 +186,8 @@ FGFDMExec::~FGFDMExec()
PropertyCatalog.clear();
+ FDMctr--;
+
Debug(1);
}
------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel