forked from 1b-agent/opencadstudio-upstream
fix(layout): complete paperspace integration
Apply each layout's embedded page setup and plot style consistently across display, PDF, printing, and multi-layout output.\n\nRefs #844
This commit is contained in:
1 parent
9c8f841f71
commit
8c61d89b1e
18 files changed
+1393
-373
No files matched your search
@@ -151,6 +151,9 @@ impl OpenCADStudio {
|
||||
if let Some(previous) = self.print_all_plot_window_prev.take() {
|
||||
self.plot_window = previous;
|
||||
}
|
||||
if let Some(previous) = self.print_all_plot_setup_prev.take() {
|
||||
self.plot_setup_template = previous;
|
||||
}
|
||||
self.print_all_options = false;
|
||||
self.active_modal = Some(PrintAll);
|
||||
self.reset_modal_geometry();
|
||||
@@ -6917,6 +6920,9 @@ impl OpenCADStudio {
|
||||
self.plot_dialog.style_missing = false;
|
||||
self.plot_dialog.plot_styles =
|
||||
crate::io::plot_style::available_ctb_names();
|
||||
self.tabs[self.active_tab]
|
||||
.scene
|
||||
.invalidate_display_plot_style();
|
||||
|
||||
self.command_line.push_output(
|
||||
crate::tf!(
|
||||
@@ -6968,6 +6974,9 @@ impl OpenCADStudio {
|
||||
self.plot_dialog.style_missing = false;
|
||||
self.plot_dialog.plot_styles =
|
||||
crate::io::plot_style::available_ctb_names();
|
||||
self.tabs[self.active_tab]
|
||||
.scene
|
||||
.invalidate_display_plot_style();
|
||||
self.command_line.push_output(crate::tf!(
|
||||
"Plot style table saved to \"{}\".",
|
||||
path.display()
|
||||
|
||||
Reference in new issue
Block a user