[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars/skycomponents
From: Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date: 2010-06-28 17:18:02
Message-ID: 20100628171802.E8E38AC8E6 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1143781 by khudyakov:
remove call map->onscreenLine it doesn't affect perfomance and
correctness.
I believe it was created as optimization
M +1 -1 linelistindex.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/linelistindex.cpp #1143780:1143781
@@ -249,7 +249,7 @@
oThis2 = oThis = map->toScreen( pThis, true, &isVisible );
if ( map->onScreen( oThis, oLast) && ! skipAt( lineList, j ) ) {
- if ( isVisible && isVisibleLast && map->onscreenLine( oLast, oThis ) ) {
+ if ( isVisible && isVisibleLast ) {
psky.drawLine( oLast, oThis );
updateLabelCandidates( oThis, lineList, j );
} else if ( isVisibleLast ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic