mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-05 00:05:57 -05:00
Fix #5789
This commit is contained in:
parent
1db8347ada
commit
d476aed464
@ -383,6 +383,7 @@ class geoprocessingThread( QThread ):
|
||||
inGeom = QgsGeometry( inFeat.geometry() )
|
||||
try:
|
||||
outGeom = inGeom.buffer( float( value ), self.mySegments )
|
||||
if not outGeom.isGeosEmpty():
|
||||
try:
|
||||
outFeat.setGeometry( outGeom )
|
||||
outFeat.setAttributes( atMap )
|
||||
@ -444,6 +445,7 @@ class geoprocessingThread( QThread ):
|
||||
inGeom = QgsGeometry( inFeat.geometry() )
|
||||
try:
|
||||
outGeom = inGeom.buffer( float( value ), self.mySegments )
|
||||
if not outGeom.isGeosEmpty():
|
||||
try:
|
||||
outFeat.setGeometry( outGeom )
|
||||
outFeat.setAttributes( atMap )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user