X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2Felev.c;h=0ee96db3f7c98034a19cf18ea731e179a57896d7;hp=a6589ff0b6aff8af717ea2055611a46d10abeca3;hb=2be8bbde8f465947d364b28c5e156631caed6d25;hpb=e4de9d051f0f61a2f0eaa97e631bc7b891dc2eaf diff --git a/src/plugins/elev.c b/src/plugins/elev.c index a6589ff..0ee96db 100644 --- a/src/plugins/elev.c +++ b/src/plugins/elev.c @@ -188,7 +188,7 @@ static gboolean _load_tile_cb(gpointer _load) /* Do necessasairy processing */ /* TODO: Lock this and move to thread, can remove elev from _load then */ if (LOAD_BIL) - gis_viewer_set_height_func(elev->viewer, tile, _height_func, elev, TRUE); + gis_viewer_set_height_func(elev->viewer, &tile->edge, _height_func, elev, TRUE); /* Cleanup unneeded things */ if (!LOAD_BIL)