QGIS/python/3d/3d.sip.in
Nyall Dawson da317dd8de
Fix PyQGIS 3D module patching
The module patching for _3d was not working at all, because
the same logic which works for other modules with a private _module
copy clashed with the approach of exposing the public 3d module
as qgis._3d

Work around this by renaming the private internal module as _3d_p,
so that the monkey patching logic from sip is correctly run
when the module is loaded.

Fixes broken API in 3d module for renamed enums, and fixes the
broken PyQGIS doc for the 3d module
2024-08-30 11:57:42 +10:00

13 lines
219 B
Plaintext

%Module(name=qgis._3d_p,
keyword_arguments="All")
${DEFAULTDOCSTRINGSIGNATURE}
%Import core/core.sip
%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip
%Import QtXml/QtXmlmod.sip
%Include ./3d_auto.sip