Re: [Flightgear-devel] [PATCH] mice.xml: fix the view recentering
Can somebody please integrate this patch, in case it was forgotten, or else tell me what it lacks to be integrated, so that I can re-work it? http://mail.flightgear.org/pipermail/flightgear-devel/2005-October/039496.html V. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [PATCH] mice.xml: fix the view recentering
As promised, a new version that jumps back only when the mid-button is pressed on the left-click. 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.xml28 Jan 2005 15:17:30 - 1.17 +++ ../data/mice.xml13 Oct 2005 13:37:43 - @@ -174,7 +174,31 @@ current mode for each mouse is held in t property-assign /sim/current-view/goal-pitch-offset-deg - /sim/current-view/config/pitch-offset-deg + /sim/view/config/pitch-offset-deg + + + +/devices/status/mice/mouse[0]/button[1] + + property-assign + /sim/current-view/x-offset-m + /sim/view/config/x-offset-m + + + +/devices/status/mice/mouse[0]/button[1] + + property-assign + /sim/current-view/y-offset-m + /sim/view/config/y-offset-m + + + +/devices/status/mice/mouse[0]/button[1] + + property-assign + /sim/current-view/z-offset-m + /sim/view/config/z-offset-m ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] [PATCH] mice.xml: fix the view recentering
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.xml28 Jan 2005 15:17:30 - 1.17 +++ ../data/mice.xml13 Oct 2005 10:46:28 - @@ -174,7 +174,22 @@ current mode for each mouse is held in t property-assign /sim/current-view/goal-pitch-offset-deg - /sim/current-view/config/pitch-offset-deg + /sim/view/config/pitch-offset-deg + + + property-assign + /sim/current-view/x-offset-m + /sim/view/config/x-offset-m + + + property-assign + /sim/current-view/y-offset-m + /sim/view/config/y-offset-m + + + property-assign + /sim/current-view/z-offset-m + /sim/view/config/z-offset-m ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d