Skip to content

Commit b5c21bb

Browse files
committed
Automatic merge of T1.5.1-573-g9a8e6af15 and 14 pull requests
- 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
16 parents dfaedce + 9a8e6af + 98dd1a7 + 3e672a8 + d00beb9 + 410a585 + d05f581 + b39e5d8 + 9afc8c3 + 516825f + e71bc5a + 776d6df + c15333e + 5cb32fa + cf0ed99 + d500329 commit b5c21bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/RunActivity/Viewer3D/Cameras.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ public void ChangeCab(TrainCar newCar)
18911891
var mstsLocomotive = newCar as MSTSLocomotive;
18921892
if (PrevCabWasRear != mstsLocomotive.UsingRearCab)
18931893
RotationYRadians += MathHelper.Pi;
1894-
ActViewPoint = mstsLocomotive.UsingRearCab ? 1 : 0;
1894+
ActViewPoint = mstsLocomotive.UsingRearCab && mstsLocomotive.HasFront3DCab ? 1 : 0;
18951895
PrevCabWasRear = mstsLocomotive.UsingRearCab;
18961896
SetCameraCar(newCar);
18971897
}

0 commit comments

Comments
 (0)