mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix #3542
git-svn-id: http://svn.osgeo.org/qgis/trunk@15329 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
0a89f19747
commit
42ee9604c1
@ -943,6 +943,8 @@ bool QgsOgrProvider::changeAttributeValues( const QgsChangedAttributesMap & attr
|
||||
|
||||
clearMinMaxCache();
|
||||
|
||||
setIgnoredFields( true, QgsAttributeList() );
|
||||
|
||||
for ( QgsChangedAttributesMap::const_iterator it = attr_map.begin(); it != attr_map.end(); ++it )
|
||||
{
|
||||
long fid = ( long ) it.key();
|
||||
@ -1012,6 +1014,8 @@ bool QgsOgrProvider::changeGeometryValues( QgsGeometryMap & geometry_map )
|
||||
OGRFeatureH theOGRFeature = 0;
|
||||
OGRGeometryH theNewGeometry = 0;
|
||||
|
||||
setIgnoredFields( true, QgsAttributeList() );
|
||||
|
||||
for ( QgsGeometryMap::iterator it = geometry_map.begin(); it != geometry_map.end(); ++it )
|
||||
{
|
||||
theOGRFeature = OGR_L_GetFeature( ogrLayer, it.key() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user