ENH: mall: improve the score logic

don't refresh the ratings periodly
JIRA: STUDIO-XXXX

Change-Id: I9023c73a89302e780b2e486d6b96f306fa604c45
This commit is contained in:
lane.wei 2023-09-22 23:16:42 +08:00 committed by Lane.Wei
parent 5a4d30a51c
commit 269f252b7b

View file

@ -2793,7 +2793,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
bool is_market_task = obj->get_modeltask() && obj->get_modeltask()->design_id > 0;
if (is_market_task) {
NetworkAgent *agent = wxGetApp().getAgent();
if (agent && IsShownOnScreen()) {
if (agent && IsShownOnScreen() && !m_print_finish) {
int job_id = obj->get_modeltask()->job_id;
boost::thread([this, agent, job_id] {
@ -4692,4 +4692,4 @@ void ScoreDialog::set_cloud_bitmap(std::vector<std::string> cloud_bitmaps)
}
} // namespace GUI
} // namespace Slic3r
} // namespace Slic3r