light: print message when visdata in use
This commit is contained in:
parent
45daf59df7
commit
72e07f82fb
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue