CURA-4606 cleanup and optimization for replaceContainer

This commit is contained in:
Jack Ha 2018-02-14 11:12:21 +01:00 committed by Lipu Fei
parent bf2317a74d
commit 8aab8f4394
6 changed files with 8 additions and 23 deletions

View file

@ -13,21 +13,6 @@ Menu
title: "Nozzle"
property int extruderIndex: 0
property bool printerConnected: Cura.MachineManager.printerOutputDevices.length != 0
property bool isClusterPrinter:
{
if (Cura.MachineManager.printerOutputDevices.length == 0)
{
return false;
}
var clusterSize = Cura.MachineManager.printerOutputDevices[0].clusterSize;
// This is not a cluster printer or the cluster it is just one printer
if (clusterSize == undefined || clusterSize == 1)
{
return false;
}
return true;
}
Cura.NozzleModel
{