mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
NEW:Add buried points at panel buttons
Change-Id: Idfdcd964b03ea06e832e9e7c2cfaac232212f518
This commit is contained in:
parent
a321121acc
commit
b3f519a0d4
5 changed files with 108 additions and 5 deletions
|
@ -983,6 +983,15 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt)
|
|||
update_data();
|
||||
m_parent.set_as_dirty();
|
||||
}
|
||||
try {
|
||||
std::string name = m_gizmos[m_hover]->get_gizmo_name();
|
||||
int count = m_gizmos[m_hover]->get_count();
|
||||
NetworkAgent* agent = GUI::wxGetApp().getAgent();
|
||||
if (agent) {
|
||||
agent->track_update_property(name, std::to_string(count));
|
||||
}
|
||||
}
|
||||
catch (...) {}
|
||||
}
|
||||
else if (evt.MiddleDown()) {
|
||||
m_mouse_capture.middle = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue