diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index ff9888cc1..b9b1ccc95 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -426,6 +426,8 @@ void Track::cleanup() } #endif } // if verbose + + irr_driver->getSceneManager()->getMeshCache()->clearUnusedMeshes(); } // cleanup //-----------------------------------------------------------------------------