summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
authorWildemann Stefan <stefan.wildemann@corpuls.com>2019-07-31 17:36:03 +0200
committerWildemann Stefan <stefan.wildemann@corpuls.com>2019-07-31 17:36:03 +0200
commit8061e9b1e4a82368d8acf626179f9e657fea4664 (patch)
treeb1e1ca32ec681d2d532dd81cc280a3cbf71a7e68 /navit/graphics.c
parent69bdf87531a7c29cd72818f9b762e6fbc51bc58d (diff)
downloadnavit-8061e9b1e4a82368d8acf626179f9e657fea4664.tar.gz
Fix/refactor polygon reassembly.
We're getting close. Finally processed map of Oberbayern, Germany without any issues. Renders nicely on Qt5. Nedds still some hacks in maptool as I did not understan everything properly. Parts of maptool are rather hacky, aren't they?
Diffstat (limited to 'navit/graphics.c')
-rw-r--r--navit/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/graphics.c b/navit/graphics.c
index 5b4a63616..b787d28d0 100644
--- a/navit/graphics.c
+++ b/navit/graphics.c
@@ -1426,7 +1426,7 @@ static void display_add(struct hash_entry *entry, struct item *item, int count,
holes_length = sizeof(struct displayitem_poly_holes) + hole_count * sizeof(int) + hole_count * sizeof(
struct coord *) + hole_total_coords * sizeof(struct coord);
if(hole_count > 0)
- dbg(lvl_error,"got %d holes with %d coords total", hole_count, hole_total_coords);
+ dbg(lvl_debug,"got %d holes with %d coords total", hole_count, hole_total_coords);
len += holes_length;
p=g_malloc(len);