Delete unused variable.

This commit is contained in:
Par Winzell 2018-12-02 19:02:24 -08:00
parent a65628f56f
commit 2029fa7277
1 changed files with 0 additions and 1 deletions

View File

@ -270,7 +270,6 @@ void RawModel::Condense()
std::set<int> survivingSurfaceIds;
for (auto &triangle : triangles) {
int oldSurfaceIndex = triangle.surfaceIndex;
const RawSurface &surface = oldSurfaces[triangle.surfaceIndex];
const int surfaceIndex = AddSurface(surface.name.c_str(), surface.id);
surfaces[surfaceIndex] = surface;