[Marble-commits] KDE/kdeedu/marble/src/lib
Thibaut Gridel
tgridel at free.fr
Sat Jan 15 14:34:29 CET 2011
SVN commit 1214588 by tgridel:
fix position tracking rendering
M +6 -0 PlacemarkLayout.cpp
M +1 -0 PositionTracking.cpp
--- trunk/KDE/kdeedu/marble/src/lib/PlacemarkLayout.cpp #1214587:1214588
@@ -371,6 +371,12 @@
continue;
}
+ if ( !placemark->isVisible() )
+ {
+ delete m_visiblePlacemarks.take( index );
+ continue;
+ }
+
const int visualCategory = placemark->visualCategory();
// Skip city marks if we're not showing cities.
--- trunk/KDE/kdeedu/marble/src/lib/PositionTracking.cpp #1214587:1214588
@@ -113,6 +113,7 @@
d->m_document->addStyle(style);
placemark->setStyleUrl(QString("#").append(styleMap.styleId()));
+ placemark->setStyle( &d->m_document->style(style.styleId()));
d->m_document->append(placemark);
d->m_fileManager->addGeoDataDocument(d->m_document);
More information about the Marble-commits
mailing list