From 42bda582d57b68a3b9d990b14e118d56bdafe0d7 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Thu, 5 Oct 2023 16:18:34 +0200 Subject: [PATCH] GridGeometry: Remove unused variable Amends 1c76217a7055b4fba1e04633fcc0ceb5f7b1b785 Change-Id: I625df52dc6c18304598f95e921c3d3dea7bf74c6 Reviewed-by: Miikka Heikkinen --- src/tools/qml2puppet/qml2puppet/editor3d/gridgeometry.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tools/qml2puppet/qml2puppet/editor3d/gridgeometry.cpp b/src/tools/qml2puppet/qml2puppet/editor3d/gridgeometry.cpp index 4af31d072f0..616b904e9e3 100644 --- a/src/tools/qml2puppet/qml2puppet/editor3d/gridgeometry.cpp +++ b/src/tools/qml2puppet/qml2puppet/editor3d/gridgeometry.cpp @@ -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;