X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FWebDAV.pm;fp=perl%2FSesse%2Fpr0n%2FWebDAV.pm;h=f428a4f55fcb1889f7213d65e93508c5339411be;hp=1f834215807f0fd768d6cb2cdc00b74a566ecfd2;hb=2a98fc654ff4ec29aa576ac5ba68fcba08682ef3;hpb=009d01329a0d7a1b0469a8d051321c155eb58999 diff --git a/perl/Sesse/pr0n/WebDAV.pm b/perl/Sesse/pr0n/WebDAV.pm index 1f83421..f428a4f 100644 --- a/perl/Sesse/pr0n/WebDAV.pm +++ b/perl/Sesse/pr0n/WebDAV.pm @@ -491,7 +491,9 @@ EOF # Make cache while we're at it. # Don't do it for the resource forks Mac OS X loves to upload :-( if ($filename !~ /^\.(_|DS_Store)/) { - Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, 1, 80, 64, 320, 256, -1, -1); + # FIXME: Ideally we'd want to ensure cache of -1x-1 here as well (for NEFs), but that would + # preclude mipmapping in its current form. + Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, 1, 80, 64, 320, 256); } # OK, we got this far, commit