forked from 1b-agent/opencadstudio-upstream
feat(select): Ctrl+click picks one segment of a polyline
Ctrl+click on a polyline selects the segment under the cursor (again to drop it); several segments can be picked. Only the picked segments are highlighted, and MOVE, ROTATE, SCALE and MIRROR then change just their vertices, so the neighbouring segments stretch to follow. Any other selected objects are transformed whole as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
11f68a1185
commit
fcf1cedf52
6 files changed
+220
-1
No files matched your search
@@ -165,6 +165,7 @@ impl Scene {
|
||||
|
||||
pub fn deselect_all(&mut self) {
|
||||
self.selected_constraint = None;
|
||||
self.sub_segments.clear();
|
||||
if self.selected.is_empty() {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user