M7.7: merge fixes (Exposure param path, remaining stubs list, effects doc)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-03 02:51:56 -04:00
co-authored by Claude Opus 5.5
parent 86b8e24417
commit 01701193c4
3 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ fn color_engine_aces_working_spaces_and_hdr() {
s.execute("layer.newSolid", json!({"color": "#ffffff", "width": 64, "height": 48})).unwrap();
let lid = s.active_comp().unwrap().layers[0].id.0;
s.execute("effect.apply", json!({"layers": [lid], "effect": "Exposure"})).unwrap();
s.execute("prop.set", json!({"layer": lid, "path": "effects/#1/exposure", "value": 2.0})).unwrap();
s.execute("prop.set", json!({"layer": lid, "path": "effects/#1/master/exposure", "value": 2.0})).unwrap();
let mapped = s.render(cid, Tick::ZERO, RenderOpts::default()).data[0];
assert!(mapped[0] > 0.5 && mapped[0] < 0.99, "tone mapped: {mapped:?}");
s.execute("file.projectSettings", json!({"hdr": "clip"})).unwrap();
+1 -1
View File
@@ -332,7 +332,7 @@ fn implemented_stubs_are_enabled_and_workspaces_are_frontend() {
assert!(s.drain_events().iter().any(|e| matches!(e, Event::Frontend { command, .. } if command == id)));
}
// What remains a stub is still disabled.
for id in ["view.displayColorManagement", "keys.audioToKeyframes"] {
for id in ["layer.autoTrace", "keys.audioToKeyframes"] {
assert!(!s.is_enabled(id), "{id}");
}
}