Skip to content
Permalink
Browse files
Fix internal function of wms server
git-svn-id: http://svn.osgeo.org/qgis/trunk@15791 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 21, 2011
1 parent c4fd911 commit c06051063f4f733e054f11a198fd462508b857aa
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/mapserver/qgswmsserver.cpp
@@ -732,8 +732,9 @@ QImage* QgsWMSServer::initializeRendering( QStringList& layersList, QStringList&
mConfigParser->setScaleDenominator( scaleCalc.calculate( mapExtent, theImage->width() ) );

//create objects for qgis rendering
QStringList theLayers = layerSet( layersList, stylesList, mMapRenderer->destinationCrs() );
mMapRenderer->setLayerSet( theLayers );
layerIdList.clear();
layerIdList = layerSet( layersList, stylesList, mMapRenderer->destinationCrs() );
mMapRenderer->setLayerSet( layerIdList );
return theImage;
}

0 comments on commit c060510

Please sign in to comment.