mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
Ignore cut result if user didn't click the cut button
This commit is contained in:
parent
6e231a8cae
commit
025a508de2
2 changed files with 2 additions and 7 deletions
|
@ -1541,7 +1541,7 @@ sub object_cut_dialog {
|
|||
object => $self->{objects}[$obj_idx],
|
||||
model_object => $self->{model}->objects->[$obj_idx],
|
||||
);
|
||||
$dlg->ShowModal;
|
||||
return unless $dlg->ShowModal == wxID_OK;
|
||||
|
||||
if (my @new_objects = $dlg->NewModelObjects) {
|
||||
$self->remove($obj_idx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue