forked from qt-creator/qt-creator
GridGeometry: Remove unused variable
Amends 1c76217a70
Change-Id: I625df52dc6c18304598f95e921c3d3dea7bf74c6
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -80,8 +80,6 @@ void GridGeometry::doUpdateGeometry()
|
||||
|
||||
setVertexData(vertexData);
|
||||
|
||||
int lastIndex = (vertexData.size() - 1) / int(sizeof(QVector3D));
|
||||
|
||||
// Set bounds based on main grid size instead of actual mesh size to make all parts of the
|
||||
// grid have consistent bounds.
|
||||
const float extent = float(m_lines) * m_step;
|
||||
|
Reference in New Issue
Block a user