File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Source/RunActivity/Viewer3D Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -707,6 +707,17 @@ public static PitchControls GetPitchControl(string sPitchControl)
707707
708708 }
709709 }
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+
710721 }
711722
712723 public class LOD
Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ public void Load()
116116 Precipitation . Mark ( ) ;
117117 Terrain . Mark ( ) ;
118118 Scenery . Mark ( ) ;
119+ Viewer . TRP ? . TrackProfile ? . Mark ( ) ;
120+ Viewer . TRP ? . TrackProfileTun ? . Mark ( ) ;
119121 Trains . Mark ( ) ;
120122 RoadCars . Mark ( ) ;
121123 Containers . Mark ( ) ;
You can’t perform that action at this time.
0 commit comments