From 72e07f82fbc94999e262b994c03976c9317d8b86 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 1 Jun 2016 16:04:18 -0600 Subject: [PATCH] light: print message when visdata in use --- light/light.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/light/light.cc b/light/light.cc index 03ff77b6..04f27110 100644 --- a/light/light.cc +++ b/light/light.cc @@ -1136,6 +1136,14 @@ vector 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++) {