diff --git a/python/PyQt6/core/auto_generated/mesh/qgsmeshlayer.sip.in b/python/PyQt6/core/auto_generated/mesh/qgsmeshlayer.sip.in index e152fb2718ed..6a2cafa579ac 100644 --- a/python/PyQt6/core/auto_generated/mesh/qgsmeshlayer.sip.in +++ b/python/PyQt6/core/auto_generated/mesh/qgsmeshlayer.sip.in @@ -934,6 +934,9 @@ Extracts minimum and maximum value for active scalar dataset on mesh faces. %Docstring Returns current active scalar dataset index for current renderer context. +.. versionadded:: 3.42 +%End + bool datasetsPathUnique( const QString &path ); %Docstring Checks whether that datasets path is already added to this mesh layer. Return ``True`` if the diff --git a/python/core/auto_generated/mesh/qgsmeshlayer.sip.in b/python/core/auto_generated/mesh/qgsmeshlayer.sip.in index e152fb2718ed..6a2cafa579ac 100644 --- a/python/core/auto_generated/mesh/qgsmeshlayer.sip.in +++ b/python/core/auto_generated/mesh/qgsmeshlayer.sip.in @@ -934,6 +934,9 @@ Extracts minimum and maximum value for active scalar dataset on mesh faces. %Docstring Returns current active scalar dataset index for current renderer context. +.. versionadded:: 3.42 +%End + bool datasetsPathUnique( const QString &path ); %Docstring Checks whether that datasets path is already added to this mesh layer. Return ``True`` if the diff --git a/src/core/mesh/qgsmeshlayer.h b/src/core/mesh/qgsmeshlayer.h index cfc3d5c63c41..311694ee75c5 100644 --- a/src/core/mesh/qgsmeshlayer.h +++ b/src/core/mesh/qgsmeshlayer.h @@ -959,7 +959,7 @@ class CORE_EXPORT QgsMeshLayer : public QgsMapLayer, public QgsAbstractProfileSo * \since QGIS 3.42 */ QgsMeshDatasetIndex activeScalarDatasetIndex( QgsRenderContext &rendererContext ); - + /** * Checks whether that datasets path is already added to this mesh layer. Return TRUE if the * dataset path is not already added.