mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-17 02:31:49 +08:00
parent
e813a562a1
commit
a5b202aa1d
@ -365,6 +365,9 @@ void Preview::load_print()
|
|||||||
|
|
||||||
void Preview::reload_print(bool force, bool keep_volumes)
|
void Preview::reload_print(bool force, bool keep_volumes)
|
||||||
{
|
{
|
||||||
|
if (!IsShown() && !force)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!keep_volumes)
|
if (!keep_volumes)
|
||||||
{
|
{
|
||||||
m_canvas->reset_volumes();
|
m_canvas->reset_volumes();
|
||||||
@ -372,9 +375,6 @@ void Preview::reload_print(bool force, bool keep_volumes)
|
|||||||
m_loaded = false;
|
m_loaded = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!IsShown() && !force)
|
|
||||||
return;
|
|
||||||
|
|
||||||
load_print();
|
load_print();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user