Render shot editor: camera and frame controls, aspect presets, guides and frame overlay (#6281) (#7232)

* Render shot editor: camera and frame controls, aspect presets, guides and the frame overlay

* Render shot: Shot editor and Scene overview to the approved design

* Distinguish Render stage variants from native window frames

* fix: restore library inspection after clearing shot selection

* test: follow the merged Output Check navigation

* test: inspect Check without requiring a preflight result

* test: cancel Shot removal through its shared dialog action

* fix: remove obsolete Inspector stage form after editor integration

* fix: preserve Appearance Advanced when clearing Wear focus

* test: expect the dedicated Check editor from Scene overview
This commit is contained in:
Nathan Dane
2026-10-29 07:03:24 +00:00
committed by GitHub
parent c7a1cee357
commit d2fcab8432
22 changed files with 2064 additions and 82 deletions
@@ -145,6 +145,40 @@ impl JsonSchema for RenderSelect {
}
}
#[derive(Clone, Copy, Debug, Deserialize, Serialize, JsonSchema)]
pub enum FrameAspect {
#[serde(rename = "16:9")]
Wide,
#[serde(rename = "3:2")]
Photo,
#[serde(rename = "1:1")]
Square,
#[serde(rename = "4:5")]
Portrait,
#[serde(rename = "9:16")]
Tall,
#[serde(rename = "custom")]
Custom,
}
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
#[serde(deny_unknown_fields)]
pub struct RenderFrame {
/// Overlay aspect selection only; output dimensions require render.settings.set.
#[serde(default, deserialize_with = "super::types::present", skip_serializing_if = "Option::is_none")]
#[schemars(with = "FrameAspect")]
pub aspect: Option<FrameAspect>,
#[serde(default, deserialize_with = "super::types::present", skip_serializing_if = "Option::is_none")]
#[schemars(with = "bool")]
pub thirds: Option<bool>,
#[serde(default, deserialize_with = "super::types::present", skip_serializing_if = "Option::is_none")]
#[schemars(with = "bool")]
pub safe_area: Option<bool>,
#[serde(default, deserialize_with = "super::types::present", skip_serializing_if = "Option::is_none")]
#[schemars(with = "bool")]
pub centre_mark: Option<bool>,
}
#[cfg(test)]
#[path = "view_navigation_tests.rs"]
mod tests;