Summary: | some polygon geometries disappear when dateline is visible | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Bernhard Beschow <shentey> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 1.4 (KDE 4.9) | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/marble/b296eb97811c57be01eacfbbe7d6bf98447d4064 | Version Fixed In: | |
Sentry Crash Report: |
Description
Bernhard Beschow
2012-04-20 17:52:05 UTC
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 |