If one does current view translation (dragging with the middle button in
the 2nd (view adjustment) mode), then, upon the left click, only the pitch
offsets are recentered, and not the x/y/z offsets. The patch below fixes
that. Please apply...

Index: ../data/mice.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/mice.xml,v
retrieving revision 1.17
diff -u -p -r1.17 mice.xml
--- ../data/mice.xml    28 Jan 2005 15:17:30 -0000      1.17
+++ ../data/mice.xml    13 Oct 2005 10:46:28 -0000
@@ -174,7 +174,22 @@ current mode for each mouse is held in t
     <binding>
      <command>property-assign</command>
      <property>/sim/current-view/goal-pitch-offset-deg</property>
-     <property>/sim/current-view/config/pitch-offset-deg</property>
+     <property>/sim/view/config/pitch-offset-deg</property>
+    </binding>
+    <binding>
+     <command>property-assign</command>
+     <property>/sim/current-view/x-offset-m</property>
+     <property>/sim/view/config/x-offset-m</property>
+    </binding>
+    <binding>
+     <command>property-assign</command>
+     <property>/sim/current-view/y-offset-m</property>
+     <property>/sim/view/config/y-offset-m</property>
+    </binding>
+    <binding>
+     <command>property-assign</command>
+     <property>/sim/current-view/z-offset-m</property>
+     <property>/sim/view/config/z-offset-m</property>
     </binding>
    </button>



_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to