# Make cache while we're at it.
# 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, 320, 256);
+ Sesse::pr0n::Common::ensure_cached($r, 0, 0, $filename, $newid, undef, undef, 320, 256);
# OK, we got this far, commit
$dbh->commit;