forked from 1b-agent/opencadstudio-upstream
Merge pull request #1744 from ramox81/codex/layout-first-open-followups
Layouts: first opening follows the page setup; viewports picked by their frame
This commit is contained in:
commit
86df079182
8 files changed
+132
-6
No files matched your search
@@ -6784,6 +6784,7 @@ properties={:.1}ms picked={}",
|
||||
.as_ref()
|
||||
.map(|style| style.name.clone())
|
||||
.unwrap_or_default();
|
||||
self.tabs[i].scene.new_layout_plot_style = plot_style.clone();
|
||||
for obj in self.tabs[i].scene.document.objects.values_mut() {
|
||||
if let codec::objects::ObjectType::Layout(l) = obj {
|
||||
if l.name == new_name {
|
||||
|
||||
Reference in new issue
Block a user