Skip to content

Commit

Permalink
Automatic merge of T1.5.1-573-g9a8e6af15 and 14 pull requests
Browse files Browse the repository at this point in the history
- Pull request #757 at 98dd1a7: Unify RailDriver code implementations
- Pull request #831 at 3e672a8: poor mans switch panel on tablet
- Pull request #839 at d00beb9: First phase of https://blueprints.launchpad.net/or/+spec/additional-cruise-control-parameters
- Pull request #841 at 410a585: https://blueprints.launchpad.net/or/+spec/animating-trainset-windows
- Pull request #853 at d05f581: Notify out of focus
- Pull request #855 at b39e5d8: Adds new route from TrainSimulations
- Pull request #857 at 9afc8c3: Adding Air Flow Meters
- Pull request #863 at 516825f: Alternate preset 3D cabviewpoints
- Pull request #864 at e71bc5a: Fixes for Undesired Emergency Applications
- Pull request #865 at 776d6df: Dispatcher window improvements
- Pull request #866 at c15333e: Fix Articulation For 0-Axle Train Cars
- Pull request #870 at 5cb32fa: Fix water restore
- Pull request #873 at cf0ed99: Reduce allocations in signal script
- Pull request #874 at d500329: Dynamic brake controller refactoring
  • Loading branch information
openrails-bot committed Sep 14, 2023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/RunActivity/Viewer3D/Cameras.cs
Expand Up @@ -1891,7 +1891,7 @@ public void ChangeCab(TrainCar newCar)
var mstsLocomotive = newCar as MSTSLocomotive;
if (PrevCabWasRear != mstsLocomotive.UsingRearCab)
RotationYRadians += MathHelper.Pi;
ActViewPoint = mstsLocomotive.UsingRearCab ? 1 : 0;
ActViewPoint = mstsLocomotive.UsingRearCab && mstsLocomotive.HasFront3DCab ? 1 : 0;
PrevCabWasRear = mstsLocomotive.UsingRearCab;
SetCameraCar(newCar);
}
Expand Down

0 comments on commit b5c21bb

Please sign in to comment.