forked from 1b-agent/opencadstudio-upstream
fix(plot): respect non-printing layers
Filter nested block, attribute, table, hatch, and wipeout geometry during export while preserving canvas visibility.
This commit is contained in:
1 parent
eb5cbaeca0
commit
77e1f1b876
10 files changed
+140
-27
No files matched your search
@@ -172,7 +172,7 @@ fn plot_scene_content(
|
||||
paper_wires.retain(|wire| wire.plot_visible);
|
||||
model_wires.retain(|wire| wire.plot_visible);
|
||||
let paper_hatches = scene.paper_plot_hatches().as_ref().clone();
|
||||
let paper_wipeouts = scene.paper_canvas_wipeouts().as_ref().clone();
|
||||
let paper_wipeouts = scene.paper_plot_wipeouts().as_ref().clone();
|
||||
if scene.current_layout == "Model" {
|
||||
let splits = crate::io::pdf_export::PlotGroupSplits {
|
||||
wires: paper_wires.len(),
|
||||
|
||||
@@ -2457,6 +2457,8 @@ impl OpenCADStudio {
|
||||
}
|
||||
}
|
||||
|
||||
self.tabs[i].layers.refresh_sort();
|
||||
|
||||
self.tabs[i]
|
||||
.scene
|
||||
.invalidate_layer_dependencies(&targets);
|
||||
|
||||
Reference in new issue
Block a user