[Marble-commits] branches/KDE/4.3/kdeedu/marble/src/lib
Torsten Rahn
tackat at kde.org
Mon Jul 13 11:44:56 CEST 2009
SVN commit 995741 by rahn:
BUG 200011: Backport of fix.
M +6 -1 MarbleModel.cpp
--- branches/KDE/4.3/kdeedu/marble/src/lib/MarbleModel.cpp #995740:995741
@@ -597,7 +597,6 @@
renderPositions.clear();
renderPositions << "SURFACE";
- d->m_layerManager->renderLayers( painter, viewParams, renderPositions );
// Paint the vector layer.
if ( d->m_mapTheme->map()->hasVectorLayers() ) {
@@ -605,9 +604,15 @@
if ( !d->m_mapTheme->map()->hasTextureLayers() ) {
d->m_veccomposer->paintBaseVectorMap( painter, viewParams );
}
+
+ d->m_layerManager->renderLayers( painter, viewParams, renderPositions );
+
// Add further Vectors
d->m_veccomposer->paintVectorMap( painter, viewParams );
}
+ else {
+ d->m_layerManager->renderLayers( painter, viewParams, renderPositions );
+ }
// Paint the GeoDataPlacemark layer
bool showPlaces, showCities, showTerrain, showOtherPlaces;
More information about the Marble-commits
mailing list