File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,13 @@ bool QgsVectorLayerFeatureIterator::nextFeature( QgsFeature& f )
95
95
return res;
96
96
}
97
97
98
+ if ( mRequest .filterType () == QgsFeatureRequest::FilterRect )
99
+ {
100
+ if ( fetchNextChangedGeomFeature ( f ) )
101
+ return true ;
102
+ }
103
+ // no more changed geometries
104
+
98
105
while ( mProviderIterator .nextFeature ( f ) )
99
106
{
100
107
if ( mFetchConsidered .contains ( f.id () ) )
@@ -118,14 +125,6 @@ bool QgsVectorLayerFeatureIterator::nextFeature( QgsFeature& f )
118
125
}
119
126
// no more provider features
120
127
121
- if ( mRequest .filterType () == QgsFeatureRequest::FilterRect )
122
- {
123
- if ( fetchNextChangedGeomFeature ( f ) )
124
- return true ;
125
- }
126
- // no more changed geometries
127
-
128
-
129
128
if ( fetchNextAddedFeature ( f ) )
130
129
return true ;
131
130
// no more added features
You can’t perform that action at this time.
0 commit comments