Skip to content

Commit

Permalink
Fix internal function of wms server
Browse files Browse the repository at this point in the history
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 c060510
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mapserver/qgswmsserver.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit c060510

Please sign in to comment.