Reuse unchanged imported meshes during joint motion (#5476) (#5480)

* perf(mesh): reuse imported contents and display triangles

* fix(viewport): preserve reference mesh detail and glass fallback

* fix(viewport): preserve small faded mesh ordering without OIT
This commit is contained in:
takuto-NA
2026-11-04 21:30:58 +00:00
committed by GitHub
parent 6578d591ac
commit 61ada52984
5 changed files with 348 additions and 58 deletions
+4
View File
@@ -61,6 +61,8 @@ pub const SKIPPED_MODULES: &[(&str, &str)] = &[
/// Functions, in modules that also decide geometry, whose job is the display mesh itself, a
/// preview, or a mesh body.
pub const SKIPPED_FUNCTIONS: &[(&str, &str)] = &[
("crates/doc/src/eval.rs:ImportDigests::of", "mesh-body imports: retained content identities, not tessellated-solid decisions"),
("crates/doc/src/eval.rs:MeshDigest::matches", "mesh-body imports: compares retained source-array identities"),
("crates/doc/src/eval.rs:ModelBody::display_plan", "the display plan"),
("crates/doc/src/eval.rs:ModelBody::mesh", "the display mesh"),
("crates/doc/src/eval.rs:ModelBody::mesh_in_place", "the display mesh where the body stands"),
@@ -72,7 +74,9 @@ pub const SKIPPED_FUNCTIONS: &[(&str, &str)] = &[
("crates/doc/src/eval.rs:ModelState::warm_display", "display meshes made ahead"),
("crates/doc/src/eval.rs:ModelState::warm_display_at", "display meshes made ahead"),
("crates/doc/src/eval.rs:ModelState::warm_meshes", "display meshes made ahead"),
("crates/doc/src/eval.rs:feature_json", "fingerprints feature inputs; triangles are only embedded mesh-body source data"),
("crates/doc/src/eval.rs:mesh_bodies", "mesh bodies: a mesh import's triangles"),
("crates/doc/src/eval.rs:mesh_content_digest", "mesh-body imports: hashes source arrays without geometric classification"),
("crates/engine/src/cmd/file.rs:saved_preview", "the preview picture saved in a design"),
("crates/kernel/src/body.rs:Body::classify_point", "mesh bodies: its mesh-body branch (a B-rep is classified by SMLib)"),
("crates/kernel/src/body.rs:Body::mesh_untimed", "the mesher: a body's tessellation"),