Merge branch 'main' into worktree-agent-aba3d925078471ad6
# Conflicts: # docs/parity.md
This commit is contained in:
@@ -716,7 +716,7 @@ fn file_dialog(app: &mut EffectcraftApp, id: &str, params: &Value) -> Option<Res
|
||||
let Some(f) = app.hooks.pick_files.as_ref() else { return Some(Err("no file dialog available (pass `paths`)".into())) };
|
||||
let paths = f(&[
|
||||
"mp4", "mov", "m4v", "mkv", "webm", "png", "jpg", "jpeg", "gif", "webp", "tif", "tiff", "bmp", "exr", "wav", "aif", "aiff", "mp3", "flac",
|
||||
"ogg", "opus", "svg",
|
||||
"ogg", "opus", "svg", "gltf", "glb", "obj",
|
||||
]);
|
||||
match (paths.is_empty(), key) {
|
||||
(true, _) => None,
|
||||
|
||||
@@ -22,6 +22,7 @@ fn item_icon(it: &Item) -> Icon {
|
||||
ItemKind::Footage(f) => match f.kind {
|
||||
effectcraft_engine::project::FootageKind::Still | effectcraft_engine::project::FootageKind::Sequence => Icon::Image,
|
||||
effectcraft_engine::project::FootageKind::Audio => Icon::Audio,
|
||||
effectcraft_engine::project::FootageKind::Model => Icon::Cube,
|
||||
_ => Icon::Footage,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -433,6 +433,7 @@ fn layer_icon(l: &Layer, project: &effectcraft_engine::project::Project) -> Icon
|
||||
LayerSource::Null => Icon::Null,
|
||||
LayerSource::Camera => Icon::Camera,
|
||||
LayerSource::Light { .. } => Icon::Light,
|
||||
LayerSource::Model { .. } | LayerSource::Primitive { .. } => Icon::Cube,
|
||||
LayerSource::Comp { .. } => Icon::Comp,
|
||||
LayerSource::Solid { .. } => {
|
||||
if l.switches.adjustment {
|
||||
|
||||
Reference in New Issue
Block a user