[Marble-commits] KDE/kdeedu/marble/src/lib
Thibaut Gridel
tgridel at free.fr
Sun Dec 12 12:28:51 CET 2010
SVN commit 1205743 by tgridel:
PlacemarkLayout: do not paint with no labels
M +4 -0 PlacemarkLayout.cpp
--- trunk/KDE/kdeedu/marble/src/lib/PlacemarkLayout.cpp #1205742:1205743
@@ -196,6 +196,10 @@
m_maxLabelHeight = maxLabelHeight();
}
+
+ if ( m_maxLabelHeight == 0 ) {
+ return;
+ }
const int secnumber = imgheight / m_maxLabelHeight + 1;
//Quaternion inversePlanetAxis = viewParams->m_planetAxis.inverse();
More information about the Marble-commits
mailing list