Skip to content
Browse files

added sip binding for the new adaptedGeometry protected method

  • Loading branch information
luipir committed Sep 26, 2017
1 parent 1aaad7b commit bbfa048c996c8157aa9499afc0c4db831277cdee
Showing with 9 additions and 0 deletions.
  1. +9 −0 python/core/qgsvectorlayereditbuffer.sip
@@ -148,4 +148,13 @@ class QgsVectorLayerEditBuffer : QObject
void updateAttributeMapIndex( QgsAttributeMap& attrs, int index, int offset ) const;

void updateLayerFields();

/** Apply geom modification basing on provider geometry type.
* Geom is modified only if successful convertion is possibile.
* In case of convertion a message is notified in the log
* @param geom pointer to the geometry that is adapted to provider
* @return bool true if success
* @note added in QGIS 2.18
bool adaptGeometry( QgsGeometry* geom );

0 comments on commit bbfa048

Please sign in to comment.
You can’t perform that action at this time.