]> Pileus Git - grits/blobdiff - src/plugins/elev.c
Use GisBounds for height_func instead of GisTile
[grits] / src / plugins / elev.c
index a6589ff0b6aff8af717ea2055611a46d10abeca3..0ee96db3f7c98034a19cf18ea731e179a57896d7 100644 (file)
@@ -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)