- Backend update from Raze.
This commit is contained in:
parent
53c2ac79e1
commit
c55dfbcddd
11 changed files with 100 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue