mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Temporarily disabled step-based slicing
This commit is contained in:
parent
a6a6a6888b
commit
1cee992604
1 changed files with 4 additions and 2 deletions
|
@ -343,7 +343,8 @@ sub process {
|
||||||
if (!$self->_state->done($step)) {
|
if (!$self->_state->done($step)) {
|
||||||
$self->_state->set_started($step);
|
$self->_state->set_started($step);
|
||||||
$cb->();
|
$cb->();
|
||||||
$self->_state->set_done($step);
|
### Re-enable this for step-based slicing:
|
||||||
|
### $self->_state->set_done($step);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
my $object_step = sub {
|
my $object_step = sub {
|
||||||
|
@ -353,7 +354,8 @@ sub process {
|
||||||
if (!$object->_state->done($step)) {
|
if (!$object->_state->done($step)) {
|
||||||
$object->_state->set_started($step);
|
$object->_state->set_started($step);
|
||||||
$cb->($obj_idx);
|
$cb->($obj_idx);
|
||||||
$object->_state->set_done($step);
|
### Re-enable this for step-based slicing:
|
||||||
|
### $object->_state->set_done($step);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue