diff --git a/python/core/qgsvectorlayer.sip b/python/core/qgsvectorlayer.sip index 6229cdc282f..0d912f7a68f 100644 --- a/python/core/qgsvectorlayer.sip +++ b/python/core/qgsvectorlayer.sip @@ -168,6 +168,11 @@ public: */ bool deleteSelectedFeatures(); + /**Adds a ring to polygon/multipolygon features + @return 0 in case of success, 1 problem with feature type, 2 ring not closed, 3 ring not valid, 4 ring crosses \ +existing rings, 5 no feature found where ring can be inserted*/ + int addRing(const QList& ring); + /** Set labels on */ void setLabelOn( bool on );