82414 Commits

Author SHA1 Message Date
bdm-oslandia
f619e4ecdc feat(3d): Add 3D test to validate debug map behaviour 2023-06-19 17:59:32 +02:00
Julien Cabieces
e8d3e7ca12 Fixes #52356 : Update graduated renderer widget according to current mode on init 2023-06-19 15:33:47 +02:00
bdm-oslandia
d4feddc4aa feat(3d): Add 3D test to validate ambient occlusion behaviour 2023-06-19 14:39:04 +02:00
bdm-oslandia
00301296c0 feat(3d): Add 3D test to validate sampleDepthBuffer behaviour 2023-06-19 14:39:04 +02:00
Alessandro Pasotti
1c391d3aca Fix issue with DD widget visibility in D&D forms
Fix #53031
2023-06-19 14:01:56 +02:00
MorriganR
653c11f8f8 add test for #53426 2023-06-17 09:54:01 +10:00
Alessandro Pasotti
20bf86fbbb
Merge pull request #53416 from ShawayL/fix-RasterCalculator-Memory-leak
fix the memory leak of the raster calculator
2023-06-16 18:21:25 +02:00
Juergen E. Fischer
8e1a12b921 typo fixes 2023-06-15 19:00:57 +02:00
Loïc Bartoletti
67654266c7
Merge pull request #53474 from ptitjano/fix/CameraController/sampleDepthBuffer
fix(3D): Use QgsCameraController::sampleDepthBuffer buffer instead of the class member
2023-06-15 11:59:43 +02:00
Damiano Lombardi
18a81b32bf Dxf/Dwg new import mode expand blocks & add inserts 2023-06-15 09:43:57 +02:00
bdm-oslandia
54692d84b9
fix(3D): Use QgsCameraController::sampleDepthBuffer buffer instead of the class member
`QgsCameraController::sampleDepthBuffer` relies on a buffer parameter
to compute the depth. It does not need the whole
buffer (`mDepthBufferImage`).
2023-06-15 09:15:47 +02:00
Loïc Bartoletti
871a3c25a5
Merge pull request #53063 from benoitdm-oslandia/fix/minor_3d_fixes
Fix/minor 3d fixes
2023-06-15 06:55:23 +02:00
Nyall Dawson
8838f894ef Fix accidental api break 2023-06-15 08:28:44 +10:00
Nyall Dawson
0601164102 Add missing documentation to QgsRasterFileWriter 2023-06-15 08:28:44 +10:00
Nyall Dawson
26493802dc Move some QgsRasterFileWriter enums to qgis 2023-06-15 08:28:44 +10:00
Alessandro Pasotti
4eb38af916 Hide fields from layout legend expr filter
Fix #53244
2023-06-15 05:45:47 +10:00
AlisterH
b5c8c5f99c fix tooltip in model designer 2023-06-15 05:45:21 +10:00
Nyall Dawson
4585148d77 When invalid postgres credentials (username or password) are interactively
updated when loading a project, ensure that the updated credentials
are stored when the project is resaved

Otherwise the outdated credentials remain in the project and the
user is forced to re-enter the correct credentials on every
project load
2023-06-15 05:44:38 +10:00
Loïc Bartoletti
b516163f05
Merge pull request #53468 from ptitjano/elevation-profile-fix-clear
qgselevationprofilewidget: Reset the profile curve on clear
2023-06-14 15:09:18 +02:00
bdm-oslandia
e7d42034f8 fix cast by static_cast in qgstessellator and qgspolygon3dsymbol_p 2023-06-14 14:11:40 +02:00
Alessandro Pasotti
7b89a398f7 use stored ref for settings 2023-06-14 10:53:38 +02:00
Alessandro Pasotti
ae23847c59 use unique ptr for settings 2023-06-14 10:51:33 +02:00
bdm-oslandia
fcb88a5bcc feat(3D): improve objectName for entities generated by QgsPolygon3DSymbol
Now entities can be more easily identified (in what tile they were included, edge or mesh, etc.).
2023-06-14 10:31:03 +02:00
bdm-oslandia
59c24fea9a fix(3D): fix a bug in tessellator to be able to extrude simple triangles.
In case of simple triangle, height was not computed by using extrusionHeight and zdata
inducing by elevation.
2023-06-14 10:31:03 +02:00
bdm-oslandia
3213f9d6cd fix(3D): add check to Qgs3DSceneExporter to avoid segfault 2023-06-14 10:31:03 +02:00
bdm-oslandia
4b8ce1693d fix: in Qgs3DSceneExporter::processGeometryRenderer rename parameter 'mesh' to 'geomRenderer' as it is a QGeometryRenderer (not a mesh) 2023-06-14 10:31:03 +02:00
bdm-oslandia
ecd7212e6c fix(3D): replace geometry renderer identification (main/selected) by property
3D geometry renderer identification in QgsChunkedEntity was made according to the object name and can be prone to error. Now we used a property (prop name is defined in a const) with values from enum.
2023-06-14 10:31:02 +02:00
Julien Cabieces
b4613b9839
Fixes #53204 : use setting from registry in processing config (#53458) 2023-06-14 10:25:36 +02:00
Alessandro Pasotti
9a81957d39 sipify 2023-06-14 10:07:34 +02:00
Jean Felder
9480b10990
qgselevationprofilewidget: Reset the profile curve on clear
When the elevation profile is cleared, the canvas is cleared but the
associated geometry is not cleared. Therefore, when a layer, it turned
on, it gets redrawn.

This issue is fixed by clearing the geometry (`mProfileCurve`) when
the profile tool is cleared.

Closes: https://github.com/qgis/QGIS/issues/48117
2023-06-14 10:07:31 +02:00
Alessandro Pasotti
b1b8fb8e15 Address PR comments 2023-06-14 09:55:48 +02:00
Mathieu Pellerin
9298da6360 [ui][processing] Harmonize processing history dialog with other QGIS
dialogs by adding a close button and an icon for the help button
2023-06-14 14:37:02 +07:00
Nyall Dawson
30acad6819 Cleanup iface signal connections when unloading processing
plugin

Fixes #53455
2023-06-14 17:33:47 +10:00
Alessandro Pasotti
b9ce813edd
Update src/core/labeling/qgsvectorlayerlabeling.h
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-06-14 09:13:49 +02:00
Nyall Dawson
371f51eabf Gracefully cleanup empty python faulthandler log files
Fixes #50609
2023-06-14 07:48:13 +10:00
Nyall Dawson
4e36ab5027 Mark python impl methods as final 2023-06-14 07:48:13 +10:00
Nyall Dawson
fcfe98c8ed Some super-safety in overridden stdout/stderr to ensure we don't
try to write to a deleted qwidget
2023-06-14 07:48:13 +10:00
Nyall Dawson
def4acc14a Gracefully restore the system stdout/stderr when the python console
is about to be destroyed
2023-06-14 07:48:13 +10:00
Alessandro Pasotti
a7c803e6c0 Implement multiplyOpacity for QgsTextFormat
This is used to change the labeling opacity in the server.
2023-06-13 12:55:40 +02:00
Alessandro Pasotti
678cee7533
Merge pull request #53448 from nyalldawson/cancel_tokens
Avoid UI lock when closing Execute SQL window
2023-06-13 08:40:31 +02:00
MorriganR
36c63528fa
fix unnecessary request to PostgreSQL (#53426) 2023-06-13 12:40:35 +10:00
Nyall Dawson
427d809c4b
Fix build 2023-06-13 12:09:52 +10:00
Nyall Dawson
4bf78d3467
More reponsive cancelation of QgsQueryResultWidget token fetching
When the Execute SQL window is closed while tokens are still
being fetched, QGIS can hang until the fetching is complete. So
provide a shortcut cancelation of the fetching when we no
longer need it.

Also add more thread safety by using a separate connection for the
background thread used for the token fetching
2023-06-13 10:55:38 +10:00
Nyall Dawson
80f97c5e72
Implement responsive cancelation also for fields retrieval 2023-06-13 10:55:38 +10:00
Nyall Dawson
3960ec03be
Add a feedback argument so that QgsAbstractDatabaseProviderConnection::tables
calls can be canceled responsively

These can be very expensive (eg for remote postgres databases), so the
feedback can be used as an early out when the results are no longer
required
2023-06-13 10:55:38 +10:00
Andrea Giudiceandrea
e450b2d9c5 [grass] r.series: add missing tvalue option 2023-06-13 07:30:04 +10:00
Julien Cabieces
cdd3a3a5bb Fixes #53412 : transfer back rasterblock back to python caller 2023-06-13 04:56:13 +10:00
Alessandro Pasotti
cddab0b161 Followup CAD floater bearing
Small UX changes:

- new b/w icon for the bearing (hte colored one was odd in that context)
- reorder last options to match the visualization order in the floater
2023-06-13 04:55:37 +10:00
Alexander Bruy
97f5de4d38 fix flake8 issues 2023-06-12 13:07:18 +02:00
Alexander Bruy
5aed67c680 use plain formula instead of scale_exp expression function in the vector
tiles style converter
2023-06-12 13:07:18 +02:00