Skip to content

Commit

Permalink
Removed ViewDispatcher setting
Browse files Browse the repository at this point in the history
To fix bug reported by Hannes
  • Loading branch information
Chris Jakeman committed Mar 31, 2022
1 parent ef8a553 commit 7ce52a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions Source/ORTS.Settings/UserSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ public enum DirectXFeature
[Default(true)]
public bool SpeedControl { get; set; }
[Default(false)]
public bool ViewDispatcher { get; set; }
[Default(false)]
public bool GraduatedRelease { get; set; }
[Default(false)]
public bool RetainersOnAllCars { get; set; }
Expand Down
9 changes: 3 additions & 6 deletions Source/RunActivity/Viewer3D/Processes/GameStateViewer3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,9 @@ internal override void BeginRender(RenderFrame frame)

// We must create these forms on the main thread (Render) or they won't pump events correctly.

if (MPManager.IsMultiPlayer() || Game.Settings.ViewDispatcher)
{
Program.DebugViewer = new DispatchViewer(Viewer.Simulator, Viewer);
Program.DebugViewer.Hide();
Viewer.DebugViewerEnabled = false;
}
Program.DebugViewer = new DispatchViewer(Viewer.Simulator, Viewer);
Program.DebugViewer.Hide();
Viewer.DebugViewerEnabled = false;

Program.SoundDebugForm = new SoundDebugForm(Viewer);
Program.SoundDebugForm.Hide();
Expand Down

0 comments on commit 7ce52a7

Please sign in to comment.