We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d74d13e commit 4eb76e6Copy full SHA for 4eb76e6
python/core/qgsfeature.sip
@@ -100,11 +100,12 @@ class QgsFeature
100
101
/** Set this feature's geometry from another QgsGeometry object (deep copy)
102
*/
103
- //void setGeometry(const QgsGeometry& geom);
+ void setGeometry(const QgsGeometry& geom);
104
105
/** Set this feature's geometry (takes geometry ownership)
106
107
- void setGeometry(QgsGeometry* geom /Transfer/);
+ // use only the version that copies the geometry (it's safer)
108
+ //void setGeometry(QgsGeometry* geom /Transfer/);
109
110
/**
111
* Set this feature's geometry from WKB
0 commit comments