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.
2 parents 2caa821 + 9b0b04f commit f9d64a4Copy full SHA for f9d64a4
Source/RunActivity/Viewer3D/DynamicTrack.cs
@@ -707,6 +707,16 @@ public static PitchControls GetPitchControl(string sPitchControl)
707
708
}
709
710
+
711
+ /// <summary>
712
+ /// Marks the generic track profile, so that its textures never get deleted
713
+ /// </summary>
714
+ [CallOnThread("Loader")]
715
+ public void Mark()
716
+ {
717
+ foreach (LOD lod in LODs)
718
+ lod.Mark();
719
+ }
720
721
722
public class LOD
Source/RunActivity/Viewer3D/World.cs
@@ -116,6 +116,7 @@ public void Load()
116
Precipitation.Mark();
117
Terrain.Mark();
118
Scenery.Mark();
119
+ Viewer.TRP?.TrackProfile?.Mark();
120
Trains.Mark();
121
RoadCars.Mark();
122
Containers.Mark();
0 commit comments