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:
Hakan Seven committed 2026-09-09 23:06:08 +03:00
commit b19992cbcb
7 files changed
+218 -20

No files matched your search

+3 -1
View File
@@ -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));