mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix crash
This commit is contained in:
parent
679e8f2e8d
commit
381895fd62
@ -714,7 +714,7 @@ QgsAbstractGeometryV2* QgsVectorLayerEditBuffer::outputGeometry( QgsAbstractGeom
|
||||
QgsGeometryCollectionV2* geomCollection = dynamic_cast<QgsGeometryCollectionV2*>( outputGeom );
|
||||
if ( geomCollection )
|
||||
{
|
||||
geomCollection->addGeometry( geom );
|
||||
geomCollection->addGeometry( geom->clone() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user