Insert ribbon: Reference panel after Block Definition; Snap to Underlays list follows UOSNAP

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-13 15:52:27 +03:00
1 parent b1d4c9bd9b
commit 042223a09c
6 files changed
+63 -50

No files matched your search

+6
View File
@@ -356,6 +356,12 @@ impl OpenCADStudio {
_ => "FRAMES3",
};
self.ribbon.set_dropdown_current("FRAMES_DROPDOWN", current);
let uosnap = match crate::scene::model::pdf_vector::uosnap() {
0 => "UOSNAP0",
1 => "UOSNAP1",
_ => "UOSNAP2",
};
self.ribbon.set_dropdown_current("UOSNAP_DROPDOWN", uosnap);
let attmode = match tab.scene.document.header.attribute_visibility {
0 => "ATTMODE0",
2 => "ATTMODE2",