Skip to content
Permalink
Browse files
a small fix to enable the copy feature action for vector layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5491 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 26, 2006
1 parent 75b0dcc commit 1445f36
Showing 1 changed file with 1 addition and 1 deletion.
@@ -925,7 +925,7 @@ void QgsVectorLayer::cacheGeometries()
QgsFeature* f = 0;
while(f = dataProvider->getNextFeature(false))
{
//mCachedGeometries.insert(std::make_pair(f->featureId(), f->geometryAndOwnership()));
mCachedGeometries.insert(std::make_pair(f->featureId(), f->geometryAndOwnership()));
delete f;
}
}

0 comments on commit 1445f36

Please sign in to comment.