UI tests: Isocurve Analysis's engine colour is drawn from the theme's accent

be859aa0d added `colors::ISOCURVE` to the engine palette; the GPU viewport draws iso curves in
the theme's accent (`scene_palette`, the isocurve pass), so the engine value is only the
headless snapshot's, like the body and grid colours. every_engine_colour_tag_is_placed lists
it with those neutral tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jyviko
2026-10-28 22:27:39 -04:00
committed by Irakli Kourtis
parent 367beae69f
commit 43c1b7b881
+4 -3
View File
@@ -274,9 +274,10 @@ fn every_engine_colour_tag_is_placed() {
"AXIS_Y",
"AXIS_Z",
];
// Bodies, edges, profiles, the grid and the background: the GPU viewport draws these from
// their own tokens; the engine's values are only the headless snapshot's.
const NEUTRAL: &[&str] = &["BODY", "BODY_SELECTED", "EDGE", "PROFILE", "GRID", "GRID_MAJOR", "BG_TOP", "BG_BOTTOM", "SECTION_CAP"];
// Bodies, edges, profiles, the grid, the background and Isocurve Analysis curves (the accent):
// the GPU viewport draws these from their own tokens; the engine's values are only the
// headless snapshot's.
const NEUTRAL: &[&str] = &["BODY", "BODY_SELECTED", "EDGE", "PROFILE", "GRID", "GRID_MAJOR", "BG_TOP", "BG_BOTTOM", "SECTION_CAP", "ISOCURVE"];
let src = include_str!("../../engine/src/view.rs");
let start = src.find("pub mod colors {").unwrap_or(0);
let block = &src[start..];