Compare commits

..

No commits in common. "4f6bb426e8a3d7c68720e9fc52e8d39d094a4bdb" and "5b86bec5e868d825131eab171f9a8040de44a9c2" have entirely different histories.

4 changed files with 10 additions and 1 deletions

View File

@ -16,6 +16,10 @@ class Qgs3DMapTool : QObject
%Docstring(signature="appended")
Base class for map tools operating on 3D map canvas.
.. note::
Not available in Python bindings
.. versionadded:: 4.0
%End

View File

@ -262,7 +262,7 @@ if (WITH_3D)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/3d/project.py.in ${CMAKE_CURRENT_BINARY_DIR}/3d/project.py @ONLY)
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/3d/pyproject.toml.temp" "${toml}")
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/3d/pyproject.toml.temp ${CMAKE_CURRENT_BINARY_DIR}/3d/pyproject.toml)
SET(SIP_CONCAT_PARTS 10) # 3D doesn't have enough .sip files to fill 15+ .cpp files
SET(SIP_CONCAT_PARTS 9) # 3D doesn't have enough .sip files to fill 15+ .cpp files
GENERATE_SIP_PYTHON_MODULE_CODE(qgis._3d_p 3d/3d.sip "${sip_files_3d}" cpp_files)
BUILD_SIP_PYTHON_MODULE(qgis._3d_p 3d/3d.sip ${cpp_files} "" qgis_core qgis_3d)
endif()

View File

@ -16,6 +16,10 @@ class Qgs3DMapTool : QObject
%Docstring(signature="appended")
Base class for map tools operating on 3D map canvas.
.. note::
Not available in Python bindings
.. versionadded:: 4.0
%End

View File

@ -29,6 +29,7 @@ class QWheelEvent;
/**
* \ingroup qgis_3d
* \brief Base class for map tools operating on 3D map canvas.
* \note Not available in Python bindings
* \since QGIS 4.0 (since QGIS 3.36 in QGIS_3D library, since QGIS 3.4 in QGIS_APP library)
*/
class _3D_EXPORT Qgs3DMapTool : public QObject