light: fix invisible shadow casters crash

This commit is contained in:
Eric Wasylishen 2022-11-03 22:26:41 -06:00
parent ca0efbf3d3
commit ff54f86708
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ static void Leaf_MakeFaces(
break;
}
if (winding) {
if (!winding) {
// logging::print("WARNING: winding clipped away\n");
} else {
result.push_back(std::move(*winding));