X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2Felev.c;h=f59238d1e66c0b62f617fde3c25fe20d21b4405f;hp=a6589ff0b6aff8af717ea2055611a46d10abeca3;hb=d8948985b467a5cfd0447ae413ed1c5d01afb024;hpb=4d9d0eb76317c97b94f44a745ffecde29de0454d diff --git a/src/plugins/elev.c b/src/plugins/elev.c index a6589ff..f59238d 100644 --- a/src/plugins/elev.c +++ b/src/plugins/elev.c @@ -29,7 +29,7 @@ #include #include -#include +#include #include "elev.h" @@ -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)