Plate toolbar improvements and fixes (slice button, keep view angle on slice, review button for failed plates, percentage and improve failed state) (#14292)

* Update Plater.cpp

* init

* Revert "Update Plater.cpp"

This reverts commit ae515bc7a4.

* fix empty plate showing as failed

* keep zooming on slice

* update

* add hover effect for active plate

* fix condition and match code

* Update GLCanvas3D.cpp

* fix button colors

* add hover effect to border of plate stats button

* fix scrollbar disappear while clicking plate buttons

* Update GLCanvas3D.cpp

* fix slicing percent for new plates

* update

* Update GLCanvas3D.cpp

* update plate states on config change

* fix non functional scrollbar
This commit is contained in:
yw4z
2026-06-25 17:31:33 +03:00
committed by GitHub
parent dbd9c22d80
commit b06305f990
7 changed files with 123 additions and 43 deletions

View File

@@ -172,7 +172,8 @@ void PartPlate::init()
m_locked = false;
m_ready_for_slice = true;
m_slice_result_valid = false;
m_slice_percent = 0.0f;
m_slice_percent = -1.0f; // ORCA create new plates with negative values or it will take "slicing" role on toolbar
// condition for sliced / slicing -- if (plate_list.get_plate(i)->get_slicing_percent() < 0.0f)
m_hover_id = -1;
m_selected = false;
//m_quadric = ::gluNewQuadric();