light: print message when visdata in use

This commit is contained in:
Eric Wasylishen 2016-06-01 16:04:18 -06:00
parent 45daf59df7
commit 72e07f82fb
1 changed files with 8 additions and 0 deletions

View File

@ -1136,6 +1136,14 @@ vector<bool> leafhassky;
// index some stuff from the bsp
void BuildPvsIndex(const bsp2_t *bsp)
{
if (bsp->visdatasize != 0) {
if (novis) {
logprint("skipping visdata optimization because of -novis\n");
} else {
logprint("using visdata optimization\n");
}
}
// build leafsForFace
faceleafs.resize(bsp->numfaces);
for (int i = 0; i < bsp->numleafs; i++) {