mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Revert "Early cop-out if there is no printer connected"
This reverts commit 99f53cb832
. That commit caused the progress bar to be indeterminate if the progress bar was not visible, which is semantically correct but in reality causes QML to redraw the screen constantly for the animation of the indeterminate progress bar. This was taking up CPU. Now the CPU is only taken up during the pausing and resuming states when the progress bar is visible and indeterminate, but then it is actually required.
Contributes to issue CURA-2497.
This commit is contained in:
parent
6f412c0825
commit
8a5026bdb1
1 changed files with 0 additions and 4 deletions
|
@ -161,10 +161,6 @@ Rectangle
|
|||
visible: showProgress;
|
||||
indeterminate:
|
||||
{
|
||||
if (!printerConnected)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
||||
{
|
||||
case "pausing":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue