mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Fix missing extruder number
This commit is contained in:
parent
366d2c8114
commit
8831ba04e1
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ Item
|
||||||
{
|
{
|
||||||
color: modelData && modelData.activeMaterial ? modelData.activeMaterial.color : "#eeeeee" // TODO: Theme!
|
color: modelData && modelData.activeMaterial ? modelData.activeMaterial.color : "#eeeeee" // TODO: Theme!
|
||||||
material: modelData && modelData.activeMaterial ? modelData.activeMaterial.name : ""
|
material: modelData && modelData.activeMaterial ? modelData.activeMaterial.name : ""
|
||||||
position: modelData && modelData.position ? modelData.position : -1 // Use negative one to create empty extruder number
|
position: modelData && typeof(modelData.position) === "number" ? modelData.position : -1 // Use negative one to create empty extruder number
|
||||||
printCore: modelData ? modelData.hotendID : ""
|
printCore: modelData ? modelData.hotendID : ""
|
||||||
|
|
||||||
// Keep things responsive!
|
// Keep things responsive!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue