ui: selecting the Mesh node shows the commands and parameters that made the mesh (#343, #371)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-15 10:17:28 -04:00
1 parent f9c1c3cb24
commit 3a023f3e25
5 files changed
+123 -4

No files matched your search

+11 -1
View File
@@ -899,8 +899,18 @@ fn rows(app: &mut ModelApp, ui: &mut egui::Ui, acts: &mut Vec<Act>) {
);
if r.eye {
app.ui.show_mesh = !app.ui.show_mesh;
} else if r.fold || r.clicked {
} else if r.fold {
acts.push(Act::Fold("mesh".into()));
} else if r.clicked {
// A click shows how the mesh was made (#343) and opens the node; again, deselects it.
if app.selected_mesh {
app.selected_mesh = false;
} else {
app.select_mesh();
}
if !open(app, "mesh") {
acts.push(Act::Fold("mesh".into()));
}
}
if open(app, "mesh") {
let r = draw_row(