mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
feature: fix crash when feature 'owns' no geometry
This commit is contained in:
parent
c382655c97
commit
c6f9b07a27
@ -47,7 +47,7 @@ class CORE_EXPORT QgsFeaturePrivate : public QSharedData
|
|||||||
: QSharedData( other )
|
: QSharedData( other )
|
||||||
, fid( other.fid )
|
, fid( other.fid )
|
||||||
, attributes( other.attributes )
|
, attributes( other.attributes )
|
||||||
, geometry( other.ownsGeometry ? new QgsGeometry( *other.geometry ) : other.geometry )
|
, geometry( other.ownsGeometry && other.geometry ? new QgsGeometry( *other.geometry ) : other.geometry )
|
||||||
, ownsGeometry( other.ownsGeometry )
|
, ownsGeometry( other.ownsGeometry )
|
||||||
, valid( other.valid )
|
, valid( other.valid )
|
||||||
, fields( other.fields )
|
, fields( other.fields )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user