Selection: count duplicates and removals from the step's own picks

The count line now uses the objects the selection step itself picked
(a click, a window or crossing, a lasso, a fence, Last / Previous /
All): "N found (D duplicate), M total" when some were chosen already,
"N found, R removed, M total" in remove mode, "N found, M total" when a
removal picks objects that were not chosen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-14 14:49:27 +03:00
1 parent 1e93b16911
commit b9fd0a066c
27 files changed
+71 -12

No files matched your search

+1
View File
@@ -1244,6 +1244,7 @@ impl OpenCADStudio {
bounds,
|point| self.cursor_model_point(i, &edit_cam, point, bounds),
);
self.last_pick = Some((handles.clone(), self.select_remove_mode));
if self.select_remove_mode {
for h in &handles {
self.tabs[i].scene.deselect_entity(*h);