forked from 1b-agent/opencadstudio-upstream
Merge remote-tracking branch 'origin/main' into codex/region-measurement-persistence
# Conflicts: # src/app/doc_api.rs
This commit is contained in:
commit
17efc86cc1
149 files changed
+15933
-16047
No files matched your search
@@ -317,6 +317,8 @@ impl OpenCADStudio {
|
||||
let i = self.active_tab;
|
||||
self.tabs[i].scene.clear();
|
||||
self.tabs[i].scene.document = doc;
|
||||
self.tabs[i].scene.load_sketch_constraints_from_document();
|
||||
self.tabs[i].scene.load_named_parameters_from_document();
|
||||
self.tabs[i].scene.material_base_dir = path_buf.parent().map(PathBuf::from);
|
||||
crate::app::style_ops::ensure_standard_styles(
|
||||
&mut self.tabs[i].scene.document,
|
||||
@@ -1604,4 +1606,3 @@ mod tests {
|
||||
assert_eq!(app.tabs[0].active_cmd.as_ref().map(|c| c.name()), Some("MTP"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user