mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
More elegant solution for last commit (as suggested by Juergen)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9742 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
204a5c6cf4
commit
2de9bfa4c5
@ -1714,15 +1714,7 @@ int QgsVectorLayer::splitFeatures( const QList<QgsPoint>& splitLine, bool topolo
|
||||
}
|
||||
}
|
||||
|
||||
//we need the feature attributes because the attributes values
|
||||
//are copied to the new features
|
||||
QgsAttributeList attributes;
|
||||
if(mDataProvider)
|
||||
{
|
||||
attributes = mDataProvider->attributeIndexes();
|
||||
}
|
||||
attributes += mAddedAttributeIds.toList();
|
||||
select( attributes, bBox, true, true );
|
||||
select( pendingAllAttributesList(), bBox, true, true );
|
||||
|
||||
QgsFeature f;
|
||||
while ( nextFeature( f ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user