lightpreview: render Q1 faces with missing textures

This commit is contained in:
Eric Wasylishen 2023-09-30 11:41:34 -06:00
parent f9a9733068
commit 248ed7c614
1 changed files with 0 additions and 3 deletions

View File

@ -1060,9 +1060,6 @@ void GLView::renderBSP(const QString &file, const mbsp_t &bsp, const bspxentries
for (int i = m.firstface; i < m.firstface + m.numfaces; ++i) { for (int i = m.firstface; i < m.firstface + m.numfaces; ++i) {
auto &f = bsp.dfaces[i]; auto &f = bsp.dfaces[i];
std::string t = Face_TextureName(&bsp, &f); std::string t = Face_TextureName(&bsp, &f);
// FIXME: keep empty texture names?
if (t.empty())
continue;
if (f.numedges < 3) if (f.numedges < 3)
continue; continue;