forked from 1b-agent/opencadstudio-upstream
Merge pull request #1118 from MarcelP102/codex/fix-DELOBJ
Implement persistent DELOBJ source deletion policies and cover all four modes through the kernel-backed SWEEP flow.
This commit is contained in:
commit
b19992cbcb
7 files changed
+218
-20
No files matched your search
@@ -2293,7 +2293,9 @@ impl super::OpenCADStudio {
|
||||
surfaces.push(surf);
|
||||
}
|
||||
self.push_undo_snapshot(i, "CONVTOSURFACE");
|
||||
self.tabs[i].scene.erase_entities(&handles);
|
||||
if self.delete_objects != 0 {
|
||||
self.tabs[i].scene.erase_entities(&handles);
|
||||
}
|
||||
let n = surfaces.len();
|
||||
for surf in surfaces {
|
||||
self.tabs[i].scene.add_entity(EntityType::Surface(surf));
|
||||
|
||||
Reference in new issue
Block a user