Skip to content
Permalink
Browse files

Expanded tileset blob/metatile check to include metabuffer - for comp…

…leteness.
  • Loading branch information...
sdlime committed Apr 13, 2017
1 parent be1c2eb commit 8ba4cd8afe8e88011b611686a10dcf2bc09b6341
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tileset.c
@@ -122,7 +122,7 @@ void mapcache_tileset_configuration_check(mapcache_context *ctx, mapcache_tilese
}

if(tileset->format && tileset->format->type == GC_BLOB) {
if(tileset->metasize_x != 1 || tileset->metasize_y != 1) {
if(tileset->metasize_x != 1 || tileset->metasize_y != 1 || tileset->metabuffer != 0) {
ctx->set_error(ctx, 400, "tileset \"%s\" references a BLOB format type, metatiling is not supported for the \"%s\" format", tileset->name, tileset->format->name);
}
}

0 comments on commit 8ba4cd8

Please sign in to comment.
You can’t perform that action at this time.