Improvements for Sliced Plates Toolbar (#9313)

* initial

* fix scaling related issues

* Update GLCanvas3D.cpp

* update

* Update GLCanvas3D.cpp

* Update GLCanvas3D.cpp

* Update GLCanvas3D.cpp

* Update GLCanvas3D.cpp

* Update GLCanvas3D.cpp

* update

* Update GLCanvas3D.cpp

* Update GLCanvas3D.cpp

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
yw4z 2025-04-13 09:57:08 +03:00 committed by GitHub
parent 4b33c31106
commit cc81be0992
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 106 additions and 65 deletions

View file

@ -3876,7 +3876,8 @@ std::vector<PartPlate*> PartPlateList::get_nonempty_plate_list()
{
std::vector<PartPlate*> nonempty_plate_list;
for (auto plate : m_plate_list){
if (plate->get_extruders().size() != 0) {
//if (plate->get_extruders().size() != 0) {
if (!plate->empty()) { // ORCA counts failed slices as non empty because they have model and should be calculated on total count
nonempty_plate_list.push_back(plate);
}
}