mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-03 18:45:55 +00:00
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:
@@ -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..];
|
||||
|
||||
Reference in New Issue
Block a user