mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
f4cfe75ab1
2 changed files with 21 additions and 2 deletions
|
|
@ -402,7 +402,18 @@ UM.MainWindow
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenterOffset: - UM.Theme.getSize("sidebar").width / 2
|
||||
visible: base.monitoringPrint
|
||||
source: Cura.MachineManager.printerOutputDevices.length > 0 && Cura.MachineManager.printerOutputDevices[0].cameraImage ? Cura.MachineManager.printerOutputDevices[0].cameraImage : ""
|
||||
source:
|
||||
{
|
||||
if(!base.monitoringPrint)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
if(Cura.MachineManager.printerOutputDevices.length > 0 && Cura.MachineManager.printerOutputDevices[0].cameraImage)
|
||||
{
|
||||
return Cura.MachineManager.printerOutputDevices[0].cameraImage;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
UM.MessageStack
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue