Skip to content
Permalink
Browse files

[Geometry snapper] Fix typo

  • Loading branch information
manisandro committed Jan 21, 2016
1 parent cf02a71 commit 7afdecd0b6ace8a2dae3ae9d4e471e5ec3cb4a5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/geometry_snapper/qgssnapindex.cpp
@@ -309,7 +309,7 @@ void QgsSnapIndex::addGeometry( const QgsAbstractGeometryV2* geom )
{
for ( int iPart = 0, nParts = geom->partCount(); iPart < nParts; ++iPart )
{
for ( int iRing = 0, nRings = geom->ringCount( iRing ); iRing < nRings; ++iRing )
for ( int iRing = 0, nRings = geom->ringCount( iPart ); iRing < nRings; ++iRing )
{
for ( int iVert = 0, nVerts = geom->vertexCount( iPart, iRing ) - 1; iVert < nVerts; ++iVert )
{

0 comments on commit 7afdecd

Please sign in to comment.
You can’t perform that action at this time.