File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -1043,27 +1043,6 @@ void QgsMapRenderer::setLayerSet( const QStringList& layers )
1043
1043
{
1044
1044
QgsDebugMsg ( QString ( " Entering: %1" ).arg ( layers.join ( " , " ) ) );
1045
1045
mLayerSet = layers;
1046
-
1047
- // remove all entries in mLayerCoordinateTransformInfo which are not part of the layer set
1048
- /* if ( mLayerCoordinateTransformInfo.size() > 0 )
1049
- {
1050
- QSet<QString> layerSet = layers.toSet();
1051
- QStringList removeEntries;
1052
- QHash< QString, QgsLayerCoordinateTransform >::const_iterator lctIt = mLayerCoordinateTransformInfo.constBegin();
1053
- for ( ; lctIt != mLayerCoordinateTransformInfo.constEnd(); ++lctIt )
1054
- {
1055
- if ( !layerSet.contains( lctIt.key() ) )
1056
- {
1057
- removeEntries.push_back( lctIt.key() );
1058
- }
1059
- }
1060
-
1061
- QStringList::const_iterator rIt = removeEntries.constBegin();
1062
- for ( ; rIt != removeEntries.constEnd(); ++rIt )
1063
- {
1064
- mLayerCoordinateTransformInfo.remove( *rIt );
1065
- }
1066
- }*/
1067
1046
updateFullExtent ();
1068
1047
}
1069
1048
You can’t perform that action at this time.
0 commit comments