forked from 1b-agent/opencadstudio-upstream
Join compatible curves during spline editing with grouped undo
This commit is contained in:
1 parent
b51672470d
commit
57c9e93d0c
3 files changed
+54
-4
No files matched your search
@@ -417,10 +417,13 @@ impl OpenCADStudio {
|
||||
}
|
||||
}
|
||||
if let StepInput::SelectionComplete(handles) = &input {
|
||||
let exclude_locked = self.tabs[i].active_cmd.as_ref()
|
||||
.is_some_and(|command| command.selection_entities_exclude_locked());
|
||||
let entities = {
|
||||
let scene = &self.tabs[i].scene;
|
||||
handles
|
||||
.iter()
|
||||
.filter(|handle| !exclude_locked || !scene.is_layer_locked(**handle))
|
||||
.filter_map(|handle| {
|
||||
scene.document.get_entity(*handle).cloned().map(|entity| {
|
||||
let surface_area = scene
|
||||
|
||||
Reference in new issue
Block a user