diff --git a/plugins/PaintTool/PaintTool.qml b/plugins/PaintTool/PaintTool.qml index 2f96bffd24..ce866695c0 100644 --- a/plugins/PaintTool/PaintTool.qml +++ b/plugins/PaintTool/PaintTool.qml @@ -184,11 +184,25 @@ Item color: UM.Theme.getColor("icon") } } + + BrushShapeButton + { + id: buttonBrushFace + shape: Cura.PaintToolBrush.FACE + + text: catalog.i18nc("@action:button", "Face") + toolItem: UM.ColorImage + { + source: UM.Theme.getIcon("LayFlatOnFace") + color: UM.Theme.getColor("icon") + } + } } UM.Label { text: catalog.i18nc("@label", "Brush Size") + enabled: UM.Controller.properties.getValue("BrushShape") !== Cura.PaintToolBrush.FACE } UM.Slider @@ -196,6 +210,7 @@ Item id: shapeSizeSlider width: parent.width indicatorVisible: false + enabled: UM.Controller.properties.getValue("BrushShape") !== Cura.PaintToolBrush.FACE from: 1 to: 100