We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34b857 commit 516825fCopy full SHA for 516825f
Source/RunActivity/Viewer3D/Cameras.cs
@@ -1890,7 +1890,7 @@ public void ChangeCab(TrainCar newCar)
1890
var mstsLocomotive = newCar as MSTSLocomotive;
1891
if (PrevCabWasRear != mstsLocomotive.UsingRearCab)
1892
RotationYRadians += MathHelper.Pi;
1893
- ActViewPoint = mstsLocomotive.UsingRearCab ? 1 : 0;
+ ActViewPoint = mstsLocomotive.UsingRearCab && mstsLocomotive.HasFront3DCab ? 1 : 0;
1894
PrevCabWasRear = mstsLocomotive.UsingRearCab;
1895
SetCameraCar(newCar);
1896
}
0 commit comments