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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 23 10:36:12 EST 2009


Author: wonder
Date: 2009-12-23 10:36:11 -0500 (Wed, 23 Dec 2009)
New Revision: 12597

Modified:
   trunk/qgis/python/core/qgsfeature.sip
Log:
Leave only one setGeometry method to avoid ambiguous behaviour, added missing /Transfer/ annotation.

Modified: trunk/qgis/python/core/qgsfeature.sip
===================================================================
--- trunk/qgis/python/core/qgsfeature.sip	2009-12-23 14:55:16 UTC (rev 12596)
+++ trunk/qgis/python/core/qgsfeature.sip	2009-12-23 15:36:11 UTC (rev 12597)
@@ -100,11 +100,11 @@
     
     /** 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);
+    void setGeometry(QgsGeometry* geom /Transfer/);
     
     /** 
      * Set this feature's geometry from WKB



More information about the QGIS-commit mailing list