mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-20 09:05:51 +00:00
Merge upstream/main into the plane store branch (#3301)
Conflicts: Cargo manifests (craft-libs pins from main, plus memory-stats, exr and half for effectcraft-media), exr_channels.rs (the plane store's version; main's craft-exr channel decode is replaced by the plane store until craft-exr reads from a seekable source), pool.rs (frame_px takes the rows of #3271 and the forget generation of #2042), session open/forget (main's forget_files plus the reload counter), Project panel thumbnails (main's Thumb types, keyed by content).
This commit is contained in:
commit
9ff031c5f1
129 files changed
+11874
-18157
No files matched your search
@@ -123,9 +123,9 @@ pub trait FootageSource: Send + Sync {
|
||||
/// Drop the decoded frames it keeps (Edit ▸ Purge ▸ All Memory / Image Cache Memory): the
|
||||
/// next reads decode again. Sources without a cache ignore it.
|
||||
fn purge(&self) {}
|
||||
/// The file at `path` changed on disk (Reload Footage): drop what it keeps of it (decoded
|
||||
/// frames, open decoders, parsed models), so the next reads see the new contents. Sources
|
||||
/// without a cache ignore it.
|
||||
/// The file at `path` changed on disk (Reload Footage), or the project showing it closed:
|
||||
/// drop what it keeps of it (decoded frames, open decoders, parsed models), so the next reads
|
||||
/// see the new contents. Sources without a cache ignore it.
|
||||
fn forget(&self, _path: &str) {}
|
||||
/// Settings ▸ Disk ▸ Conformed Audio Folder: where decoded audio is kept between reads
|
||||
/// (`None` = off); sources that don't decode audio ignore it.
|
||||
@@ -280,7 +280,7 @@ impl FootageSource for CancellableFootage<'_> {
|
||||
self.inner.cache_budget()
|
||||
}
|
||||
fn vector_frame(&self, item: ItemId, footage: &Footage, scale: f64) -> Option<Arc<Image>> {
|
||||
self.inner.vector_frame(item, footage, scale)
|
||||
self.read(|| self.inner.vector_frame(item, footage, scale))
|
||||
}
|
||||
fn cancellable(&self, cancel: &Arc<AtomicBool>, f: &mut dyn FnMut()) {
|
||||
self.inner.cancellable(cancel, f)
|
||||
|
||||
Reference in new issue
Block a user