Fix the cache generation at WebDAV time.
authorSteinar H. Gunderson <sesse@debian.org>
Thu, 3 Jul 2008 19:43:44 +0000 (21:43 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Thu, 3 Jul 2008 19:43:44 +0000 (21:43 +0200)
perl/Sesse/pr0n/WebDAV.pm

index f428a4f55fcb1889f7213d65e93508c5339411be..3a7751cb55f479d9cc17872caa29d1c6edf9957b 100644 (file)
@@ -493,7 +493,7 @@ EOF
                                if ($filename !~ /^\.(_|DS_Store)/) {
                                        # 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);
+                                       Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, undef, undef, "nobox", 80, 64, 320, 256);
                                }
                                
                                # OK, we got this far, commit