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 6b896db commit d6a3bf6Copy full SHA for d6a3bf6
Source/RunActivity/Viewer3D/Cameras.cs
@@ -1866,8 +1866,9 @@ protected override void SetCameraCar(TrainCar car)
1866
// View is only reset on move to a different cab or "Ctl + 8".
1867
if (attachedCar.CabViewpoints != null)
1868
{
1869
- if (ActViewPoint != prevViewPoint)
+ if (car.CarID != prevcar || ActViewPoint != prevViewPoint)
1870
1871
+ prevcar = car.CarID;
1872
prevViewPoint = ActViewPoint;
1873
viewPointLocation = attachedCar.CabViewpoints[ActViewPoint].Location;
1874
viewPointRotationXRadians = attachedCar.CabViewpoints[ActViewPoint].RotationXRadians;
0 commit comments