Created
May 29, 2012 13:52
-
-
Save jef-n/2828490 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/qgsvectorlayer.cpp b/src/core/qgsvectorlayer.cpp | |
index b4e06a7..3dad784 100644 | |
--- a/src/core/qgsvectorlayer.cpp | |
+++ b/src/core/qgsvectorlayer.cpp | |
@@ -1828,6 +1828,12 @@ bool QgsVectorLayer::nextFeature( QgsFeature &f ) | |
{ | |
updateFeatureAttributes( f ); //check joined attributes / changed attributes | |
} | |
+ | |
+ if ( mFetchGeometry && mChangedGeometries.contains( f.id() ) ) | |
+ { | |
+ f.setGeometry( changedGeometries[f.id()] ); | |
+ } | |
+ | |
return true; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment