Revision b09c2d113232ca1b4c5cc1e6be8cd5ad372f5019 authored by Loïc Bartoletti on 03 October 2022, 13:16:33 UTC, committed by Loïc Bartoletti on 18 October 2022, 08:31:01 UTC
The `QgsMapToolAddRing` adds a ring through the `addRing` method of
`QgsVectorLayerEditUtils` called by this of `QgsVectorLayer`.

The bug described in #23113 indicates that only one of the entities receives the
ring addition when using the map tool.

This is consistent with the documentation of the `addRing` methods.
So, it is by design that the tool works like this.

However, as stated in the ticket, it is best to add the ring to all entities.

In order to avoid an api break, I added a new addMultiRing method that adds the ring on all entities.

Fixes #23113
1 parent 7500b38
History
File Mode Size
LinkPropertyLookupTable.csv -rw-r--r-- 25.2 KB
country_code_ISO_3166.csv -rw-r--r-- 16.1 KB
language_codes_ISO_639.csv -rw-r--r-- 2.7 KB
licenses.csv -rw-r--r-- 290 bytes
md_scope_codes.csv -rw-r--r-- 1.0 KB
mime.csv -rw-r--r-- 672 bytes

back to top