mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-27 00:24:00 -06:00
FIX:fixed UI flashing when playing liveview
Change-Id: I604620059556b74a7be5b472e2408aaea18625f6 (cherry picked from commit d17238694857a308b4f4aa5e48f91cade8f4c065)
This commit is contained in:
parent
18c7f9bd4d
commit
60701cbc8e
1 changed files with 4 additions and 2 deletions
|
@ -1189,8 +1189,10 @@ void AMSLib::render_generic_lib(wxDC &dc)
|
|||
|
||||
void AMSLib::on_pass_road(bool pass)
|
||||
{
|
||||
m_pass_road = pass;
|
||||
Refresh();
|
||||
if (m_pass_road != pass) {
|
||||
m_pass_road = pass;
|
||||
Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
void AMSLib::Update(Caninfo info, bool refresh)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue