- Backend update from Raze.

This commit is contained in:
Christoph Oelckers 2022-11-06 08:42:09 +01:00
commit c55dfbcddd
11 changed files with 100 additions and 22 deletions

View file

@ -222,6 +222,8 @@ bool FOBJModel::Load(const char* fn, int lumpnum, const char* buffer, int length
curSurface->faceStart = aggSurfFaceCount;
surfaces.Push(*curSurface);
delete curSurface;
hasSurfaces = surfaces.Size() > 1;
if (uvs.Size() == 0)
{ // Needed so that OBJs without UVs can work