Skip to content
Permalink
Browse files
minor mesh editing fixes (#45576)
  • Loading branch information
vcloarec committed Oct 20, 2021
1 parent 4100bdd commit ed7960a8b4b4b2cb1c0b14d0d9d5ef66c1fc71a4
Showing with 4 additions and 0 deletions.
  1. +1 −0 src/app/mesh/qgsmaptooleditmeshframe.cpp
  2. +3 −0 src/core/mesh/qgsmesheditor.cpp
@@ -759,6 +759,7 @@ void QgsMapToolEditMeshFrame::forceByLineBySelectedFeature( QgsMapMouseEvent *e

QgsIdentifyMenu *menu = new QgsIdentifyMenu( mCanvas );
menu->setExecWithSingleResult( true );
menu->setAllowMultipleReturn( false );
const QPoint globalPos = mCanvas->mapToGlobal( QPoint( e->pos().x() + 5, e->pos().y() + 5 ) );
const QList<QgsMapToolIdentify::IdentifyResult> selectedFeatures = menu->exec( results, globalPos );
menu->deleteLater();
@@ -330,6 +330,9 @@ void QgsMeshEditor::applyAdvancedEdit( QgsMeshEditor::Edit &edit, QgsMeshAdvance
applyEditOnTriangularMesh( edit, editing->apply( this ) );

updateElementsCount( edit.topologicalChanges );

if ( mZValueDatasetGroup )
mZValueDatasetGroup->setStatisticObsolete();
}

void QgsMeshEditor::applyEditOnTriangularMesh( QgsMeshEditor::Edit &edit, const QgsTopologicalMesh::Changes &topologicChanges )

0 comments on commit ed7960a

Please sign in to comment.