forked from 1b-agent/opencadstudio-upstream
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:
1 parent
b1d4c9bd9b
commit
042223a09c
6 files changed
+63
-50
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user