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:
Ghostkeeper 2016-10-05 13:28:53 +02:00
parent 6f412c0825
commit 8a5026bdb1
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -161,10 +161,6 @@ Rectangle
visible: showProgress;
indeterminate:
{
if (!printerConnected)
{
return true;
}
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
{
case "pausing":