Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec committed Oct 17, 2022
1 parent f6ae939 commit b0cd2f3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/mesh/qgsmesheditor.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Initializes the mesh editor and returns first error if the internal native mesh

QgsMeshEditingError initializeWithErrorsFix();
%Docstring
Initializes the mesh editor, if topological errors occur,tries to fix this errors
Initializes the mesh editor. If topological errors occur,tries to fix these errors
and returns error if there is one that couldn't be fixed

.. versionadded:: 3.28
Expand All @@ -84,7 +84,7 @@ and returns error if there is one that couldn't be fixed

bool fixError( const QgsMeshEditingError &error );
%Docstring
Tries to fix the topological ``error`` ``in`` the mesh. Returns false if the fix fails
Tries to fix the topological ``error`` in the mesh. Returns false if the fix fails

.. versionadded:: 3.28
%End
Expand Down
2 changes: 1 addition & 1 deletion python/core/auto_generated/mesh/qgsmeshlayer.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ This operation will disconnect the mesh layer from the data provider and removes
%Docstring
Starts editing of the mesh frame. Coordinate ``transform`` used to initialize the triangular mesh if needed.
This operation will disconnect the mesh layer from the data provider and removes all existing dataset group.
Returns ``False`` if starting fails and the error that is the the reason (No error, if the mesh is not editable or already in edit mode).
Returns ``False`` if starting fails and the error that is the reason (No error, if the mesh is not editable or already in edit mode).

If fixErrors is set to ``True``, errors will be attempted to be fixed.
In that case returns ``False`` if there is an error that could not be fixed and the remaining error.
Expand Down
4 changes: 2 additions & 2 deletions src/core/mesh/qgsmesheditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ class CORE_EXPORT QgsMeshEditor : public QObject
QgsMeshEditingError initialize();

/**
* Initializes the mesh editor, if topological errors occur,tries to fix this errors
* Initializes the mesh editor. If topological errors occur,tries to fix these errors
* and returns error if there is one that couldn't be fixed
*
* \since QGIS 3.28
*/
QgsMeshEditingError initializeWithErrorsFix();

/**
* Tries to fix the topological \a error \a in the mesh. Returns false if the fix fails
* Tries to fix the topological \a error in the mesh. Returns false if the fix fails
*
* \since QGIS 3.28
*/
Expand Down
2 changes: 1 addition & 1 deletion src/core/mesh/qgsmeshlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ bool QgsMeshLayer::startFrameEditing( const QgsCoordinateTransform &transform, Q

if ( fixErrors )
{
mRendererCache.reset(); // fixing errors could leads to remove faces/vertices
mRendererCache.reset(); // fixing errors could lead to remove faces/vertices
error = mMeshEditor->initializeWithErrorsFix();
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/core/mesh/qgsmeshlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ class CORE_EXPORT QgsMeshLayer : public QgsMapLayer, public QgsAbstractProfileSo
/**
* Starts editing of the mesh frame. Coordinate \a transform used to initialize the triangular mesh if needed.
* This operation will disconnect the mesh layer from the data provider and removes all existing dataset group.
* Returns FALSE if starting fails and the error that is the the reason (No error, if the mesh is not editable or already in edit mode).
* Returns FALSE if starting fails and the error that is the reason (No error, if the mesh is not editable or already in edit mode).
*
* If fixErrors is set to TRUE, errors will be attempted to be fixed.
* In that case returns FALSE if there is an error that could not be fixed and the remaining error.
Expand Down

0 comments on commit b0cd2f3

Please sign in to comment.