Fix build

This commit is contained in:
Nyall Dawson 2021-01-08 14:49:28 +10:00
parent f24dc8c8e5
commit 7f3b40772a
2 changed files with 3 additions and 13 deletions

View File

@ -554,19 +554,6 @@ Sets the camera lens' field of view
QgsCameraController::NavigationMode cameraNavigationMode() const;
%Docstring
Returns the navigation mode used by the camera
.. versionadded:: 3.18
%End
void setCameraNavigationMode( QgsCameraController::NavigationMode navigationMode );
%Docstring
Sets the navigation mode for the camera
.. versionadded:: 3.18
%End
double cameraMovementSpeed() const;
%Docstring

View File

@ -477,6 +477,8 @@ class _3D_EXPORT Qgs3DMapSettings : public QObject, public QgsTemporalRangeObjec
*/
void setProjectionType( const Qt3DRender::QCameraLens::ProjectionType projectionType ) SIP_SKIP;
#ifndef SIP_RUN
/**
* Returns the navigation mode used by the camera
* \since QGIS 3.18
@ -488,6 +490,7 @@ class _3D_EXPORT Qgs3DMapSettings : public QObject, public QgsTemporalRangeObjec
* \since QGIS 3.18
*/
void setCameraNavigationMode( QgsCameraController::NavigationMode navigationMode );
#endif
/**
* Returns the camera movement speed