mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
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