summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsphere.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsphere.cpp b/src/glsphere.cpp
index d8cfa4b..9e721c6 100644
--- a/src/glsphere.cpp
+++ b/src/glsphere.cpp
@@ -55,9 +55,8 @@ void GLSphere::makeSurface(QVector<GLPoint> *pointContainer,
m_indices->append((m_firstPoint + 1) + stack + ((m_stacks - 1) * (slice + 1)));
m_indices->append((m_firstPoint + 1) + stack + ((m_stacks - 1) * slice));
}
-
- m_indices->append(m_firstPoint);
}
+ m_indices->append(m_firstPoint);
m_nextIndex = m_indices->size();
}