[Marble-commits] branches/KDE/4.5/kdeedu/marble/src/lib

Jens-Michael Hoffmann jensmh at gmx.de
Mon Aug 30 22:08:31 CEST 2010


SVN commit 1170123 by jmhoffmann:

Backport of commit 1168541.

StackedTileLoader::updateTextureLayers: Clear d->m_sceneLayers and
d->m_textureLayers to be able to really update them. It might very well be
that map themes or layers are being removed.


 M  +3 -0      StackedTileLoader.cpp  


--- branches/KDE/4.5/kdeedu/marble/src/lib/StackedTileLoader.cpp #1170122:1170123
@@ -466,6 +466,9 @@
 
 void StackedTileLoader::updateTextureLayers()
 {
+    d->m_sceneLayers.clear();
+    d->m_textureLayers.clear();
+
     QList<GeoSceneDocument const *> const & mapThemes = d->m_mapThemeManager->mapThemes();
     QList<GeoSceneDocument const *>::const_iterator pos = mapThemes.constBegin();
     QList<GeoSceneDocument const *>::const_iterator const end = mapThemes.constEnd();


More information about the Marble-commits mailing list