Skip to content

Commit

Permalink
Merge pull request #35622 from nirvn/bogusasset_take2
Browse files Browse the repository at this point in the history
[vector] Remove problematic topological editing related assert when adding features
  • Loading branch information
m-kuhn committed Apr 7, 2020
2 parents 1e05545 + db2aa56 commit 550cb5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/qgsmaptooladdfeature.cpp
Expand Up @@ -92,7 +92,6 @@ void QgsMapToolAddFeature::digitized( const QgsFeature &f )
if ( topologicalEditing )
{
QList<QgsPointLocator::Match> sm = snappingMatches();
Q_ASSERT( f.geometry().constGet()->vertexCount() == ( vlayer->geometryType() == QgsWkbTypes::PolygonGeometry ? sm.size() + 1 : sm.size() ) );
for ( int i = 0; i < sm.size() ; ++i )
{
if ( sm.at( i ).layer() )
Expand Down

0 comments on commit 550cb5d

Please sign in to comment.