Move levelmeshhelper completely out of the Common folder
Connect the level updates to the level mesh
This commit is contained in:
parent
e80615e167
commit
e0cba77646
7 changed files with 78 additions and 23 deletions
|
|
@ -3203,6 +3203,8 @@ bool MapLoader::LoadLightmap(MapData* map)
|
|||
|
||||
void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
|
||||
{
|
||||
SetNullLevelMeshUpdater();
|
||||
|
||||
const int *oldvertextable = nullptr;
|
||||
|
||||
// Reset defaults for lightmapping
|
||||
|
|
@ -3544,4 +3546,6 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
|
|||
seg++;
|
||||
}
|
||||
}
|
||||
|
||||
LevelMeshUpdater = Level->levelMesh; // Start tracking level changes
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue