Hi,
BAC-STR2 update since trajectory-markers toggle command is broken.
Alexis
Index: Nasal/BAC-TSR2.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/BAC-TSR2/Nasal/BAC-TSR2.nas,v
retrieving revision 1.4
diff -u -p -r1.4 BAC-TSR2.nas
--- Nasal/BAC-TSR2.nas 12 Aug 2005 18:13:07 -0000 1.4
+++ Nasal/BAC-TSR2.nas 11 Apr 2007 13:58:32 -0000
@@ -243,10 +243,13 @@ atl_heading = func {
}
#--------------------------------------------------------------------
toggle_traj_mkr = func {
- if(getprop("ai/submodels/trajectory-markers") < 1) {
- setprop("ai/submodels/trajectory-markers", 1);
+ if(getprop("/ai/submodels/trajectory-markers") == nil) {
+ setprop("/ai/submodels/trajectory-markers", 0);
+ }
+ if(getprop("/ai/submodels/trajectory-markers") < 1) {
+ setprop("/ai/submodels/trajectory-markers", 1);
} else {
- setprop("ai/submodels/trajectory-markers", 0);
+ setprop("/ai/submodels/trajectory-markers", 0);
}
}
#--------------------------------------------------------------------
Index: BAC-TSR2-set.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/BAC-TSR2/BAC-TSR2-set.xml,v
retrieving revision 1.6
diff -u -p -r1.6 BAC-TSR2-set.xml
--- BAC-TSR2-set.xml 12 Aug 2005 18:13:07 -0000 1.6
+++ BAC-TSR2-set.xml 11 Apr 2007 13:58:56 -0000
@@ -212,6 +212,12 @@ BAC TSR2 simulation config.
</keyboard>
</input>
+ <ai>
+ <submodels>
+ <trajectory-markers type="bool">0</trajectory-markers>
+ </submodels>
+ </ai>
+
<!-- Autopilot -->
<autopilot>
<settings>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel