mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
FIX: print all and send all enable issue
Change-Id: Ia7dc22670eb1bc00f925254c760397e735a52496
This commit is contained in:
parent
4a3464243c
commit
494437f324
1 changed files with 11 additions and 7 deletions
|
@ -4345,14 +4345,18 @@ bool PartPlateList::is_all_slice_results_valid() const
|
||||||
//check whether all plates's slice result valid for print
|
//check whether all plates's slice result valid for print
|
||||||
bool PartPlateList::is_all_slice_results_ready_for_print() const
|
bool PartPlateList::is_all_slice_results_ready_for_print() const
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < (unsigned int)m_plate_list.size(); ++i)
|
bool res = false;
|
||||||
{
|
|
||||||
if (!m_plate_list[i]->is_slice_result_ready_for_print()
|
for (unsigned int i = 0; i < (unsigned int) m_plate_list.size(); ++i) {
|
||||||
&& m_plate_list[i]->has_printable_instances()
|
if (!m_plate_list[i]->empty() && !m_plate_list[i]->is_slice_result_valid()) {
|
||||||
)
|
return false;
|
||||||
return false;
|
}
|
||||||
|
if (m_plate_list[i]->is_slice_result_ready_for_print() && m_plate_list[i]->has_printable_instances()) {
|
||||||
|
res = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue