mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
fix(engine): follow stored media paths only on this computer or the project's share
Media and proxy paths read from a project file, a project template or an interchange file are opened only when they name a local file or a file on the network share the document itself is on (craft-docpath); a relative path is taken from the document's folder. Other paths count as missing: the item renders the offline slate with the reason, the open says how many were not opened, and Link Media lists them. This covers the open-time scan, rendering and proxies, the growing-files look and interchange import. Files imported or linked in this session are opened as given. The Scratch Disks folders use the same check, and Captured Audio and Video (voice-over takes, pasted images, the default proxy folder) and Audio Previews follow the rule Auto Save and Video Previews already follow.
This commit is contained in:
@@ -70,6 +70,7 @@ log = "0.4"
|
||||
rayon = "1"
|
||||
proptest = "1"
|
||||
roxmltree = "0.21"
|
||||
craft-docpath = { path = "../secfix-craft-libs/crates/docpath" }
|
||||
|
||||
# ui
|
||||
# Shared frontend components; keep this dependency above the engine boundary.
|
||||
|
||||
Reference in New Issue
Block a user