forked from 1b-agent/opencadstudio-upstream
Give new drawings the standard visual styles
A new drawing carries the visual styles the reference's new drawing has in its visual style dictionary. -VIEW sEttings Visual style offers them (2dWireframe as "2D Wireframe") and a saved view starts with the 2D Wireframe style. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7699c40ae4
commit
e3477a27de
4 files changed
+162
-15
No files matched your search
@@ -3026,6 +3026,8 @@ impl Scene {
|
||||
/// standard linetypes and a compatible page setup on every paper layout.
|
||||
pub fn populate_new_drawing_defaults(&mut self) {
|
||||
crate::io::linetypes::populate_document(&mut self.document);
|
||||
// The visual styles of the reference's new drawing.
|
||||
crate::io::visual_styles::populate_document(&mut self.document);
|
||||
// A new drawing is metric, as the reference's new drawing: metre
|
||||
// insertion units, metric measurement, and the ISO-25 dimension style
|
||||
// current. Standard stays available for imperial work.
|
||||
|
||||
Reference in new issue
Block a user