Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 13, 2021
1 parent f24dc8c commit 7f3b407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
13 changes: 0 additions & 13 deletions python/3d/auto_generated/qgs3dmapsettings.sip.in
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/3d/qgs3dmapsettings.h
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7f3b407

Please sign in to comment.