[QGIS Commit] r12627 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Dec 27 14:27:35 EST 2009


Author: wonder
Date: 2009-12-27 14:27:34 -0500 (Sun, 27 Dec 2009)
New Revision: 12627

Modified:
   trunk/qgis/python/core/qgsfeature.sip
Log:
Fix #2324.


Modified: trunk/qgis/python/core/qgsfeature.sip
===================================================================
--- trunk/qgis/python/core/qgsfeature.sip	2009-12-27 17:11:18 UTC (rev 12626)
+++ trunk/qgis/python/core/qgsfeature.sip	2009-12-27 19:27:34 UTC (rev 12627)
@@ -100,11 +100,12 @@
     
     /** 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



More information about the QGIS-commit mailing list