Fix for GRASS provider that wasn't playing nicely with the new QgsFeature API.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3508 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
morb_au 2005-05-31 20:39:26 +00:00
parent 7976459c17
commit 50c7cff99c

View File

@ -442,7 +442,7 @@ QgsFeature* QgsGrassProvider::getNextFeature(std::list<int> const& attlist)
}
}
f->setGeometry(wkb, wkbsize);
f->setGeometryAndOwnership(wkb, wkbsize);
setFeatureAttributes( mLayerId, cat, f, attlist );