[Marble-bugs] [Bug 298498] some polygon geometries disappear when dateline is visible

Dennis Nienhüser earthwings at gentoo.org
Sun May 20 11:15:34 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=298498

Dennis Nienhüser <earthwings at gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/marb
                   |                            |le/b296eb97811c57be01eacfbb
                   |                            |e7d6bf98447d4064

--- Comment #1 from Dennis Nienhüser <earthwings at gentoo.org> ---
Git commit b296eb97811c57be01eacfbbe7d6bf98447d4064 by Dennis Nienhüser.
Committed on 20/05/2012 at 12:45.
Pushed by nienhueser into branch 'master'.

Handle viewport IDL crossing when calculating visible items.
Related: bug 299959
Note that commit 635dc5db mentioned in bug 298498#c0 did not cause the
bug itself, but only revealed it: Previously the bounding box was only
set in setLineString(), but not in the ctor which took the linestring
as well. Hence when using the ctor alone (which is what we do), the
bbox was not set to the correct one, but an empty one. Now the default
ctor of the bbox returns a sphere sized bbox, hence seemingly making it
work (hiding both the bbox calculation bug as well as the negative
performance implications). To me that's another argument to change the
default ctor of GeoDataLatLon*Box.

M  +17   -0    src/lib/GeoGraphicsScene.cpp

http://commits.kde.org/marble/b296eb97811c57be01eacfbbe7d6bf98447d4064

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list