mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-07 17:37:03 +02:00
Ignore cut result if user didn't click the cut button
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user