Skip to content

Commit

Permalink
Fix #2324.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12627 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 27, 2009
1 parent d74d13e commit 4eb76e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/core/qgsfeature.sip
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,12 @@ class QgsFeature

/** Set this feature's geometry from another QgsGeometry object (deep copy)
*/
//void setGeometry(const QgsGeometry& geom);
void setGeometry(const QgsGeometry& geom);

/** Set this feature's geometry (takes geometry ownership)
*/
void setGeometry(QgsGeometry* geom /Transfer/);
// use only the version that copies the geometry (it's safer)
//void setGeometry(QgsGeometry* geom /Transfer/);

/**
* Set this feature's geometry from WKB
Expand Down

0 comments on commit 4eb76e6

Please sign in to comment.