File tree 1 file changed +7
-6
lines changed
python/plugins/processing/algs/qgis
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,8 @@ def processAlgorithm(self, progress):
104
104
tmpInGeom = inFeat .geometry ()
105
105
if tmpInGeom is None or tmpInGeom .isGeosEmpty ():
106
106
ProcessingLog .addToLog (ProcessingLog .LOG_ERROR ,
107
- self .tr ('Skipped feature %i, which has a null geometry' % current ))
107
+ self .tr ('Skipped feature %i, which has a null geometry' % current ))
108
+ continue
108
109
tmpOutGeom = QgsGeometry (outFeat .geometry ())
109
110
errors = tmpInGeom .validateGeometry ()
110
111
if len (errors ) != 0 :
@@ -126,11 +127,11 @@ def processAlgorithm(self, progress):
126
127
if errors :
127
128
for error in errors :
128
129
ProcessingLog .addToLog (ProcessingLog .LOG_ERROR ,
129
- self .tr ('ValidateGeometry()'
130
- 'error:One or more input'
131
- 'features have invalid '
132
- 'geometry: ' )
133
- + error .what ())
130
+ self .tr ('ValidateGeometry()'
131
+ 'error:One or more input'
132
+ 'features have invalid '
133
+ 'geometry: ' )
134
+ + error .what ())
134
135
continue
135
136
outFeat .setGeometry (tmpOutGeom )
136
137
except :
You can’t perform that action at this time.
0 commit comments