Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't emit layerModified for every atomic change made during a bulk
operation to the vector layer edit buffer Eg Instead of emitting layerModified for every individual feature in a call to QgsVectorLayer::addFeatures, we defer the signal and emit it only once after adding all the features. This avoids a lot of expensive, unnecessary work which is triggered by the signal
- Loading branch information
1 parent
332a3fd
commit ecfa173
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters