mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-18 08:22:06 +00:00
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:
@@ -1961,6 +1961,11 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
|
||||
if(m_active_page)
|
||||
m_active_page->update_visibility(m_mode, true);
|
||||
m_page_view->GetParent()->Layout();
|
||||
|
||||
// ORCA also update states of plates for plates toolbar. same method exist on Plater::priv::on_select_preset()
|
||||
auto& plate_list = wxGetApp().plater()->get_partplate_list();
|
||||
for (auto plate : plate_list.get_plate_list())
|
||||
plate->update_slice_result_valid_state(false);
|
||||
}
|
||||
|
||||
void Tab::show_timelapse_warning_dialog() {
|
||||
@@ -2148,6 +2153,11 @@ void Tab::on_presets_changed()
|
||||
m_dependent_tabs.clear();
|
||||
|
||||
wxGetApp().plater()->update_project_dirty_from_presets();
|
||||
|
||||
// ORCA also update states of plates for plates toolbar. same method exist on Plater::priv::on_select_preset()
|
||||
auto& plate_list = wxGetApp().plater()->get_partplate_list();
|
||||
for (auto plate : plate_list.get_plate_list())
|
||||
plate->update_slice_result_valid_state(false);
|
||||
}
|
||||
|
||||
void Tab::build_preset_description_line(ConfigOptionsGroup* optgroup)
|
||||
|
||||
Reference in New Issue
Block a user