Skip to content
Snippets Groups Projects
Commit b4534760 authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Bugfix: If presentation was disabled and tiling enabled, quack still attempted...

Bugfix: If presentation was disabled and tiling enabled, quack still attempted to generate tiles for the non-existing presentation image
parent bf5697b3
No related branches found
No related tags found
No related merge requests found
......@@ -401,8 +401,10 @@ function makeImages() {
deepzoom "$CONV" -format $IMAGE_DISP_EXT -path "${DEST_FOLDER}/"
fi
if shouldGenerate "$FORCE_TILES" "$PRESENTATION_TILE_FOLDER" "tiles"; then
if [ ".true" == ".$PRESENTATION" ]; then
# TODO: Specify JPEG quality
deepzoom "$PRESENTATION_IMAGE" -format $PRESENTATION_IMAGE_DISP_EXT -path "${DEST_FOLDER}/"
deepzoom "$PRESENTATION_IMAGE" -format $PRESENTATION_IMAGE_DISP_EXT -path "${DEST_FOLDER}/"
fi
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment