Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions plugins/PaintTool/PaintTool.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ Item
tooltipText: catalog.i18nc("@tooltip", "Refine support placement by defining preferred/avoidance areas")
mode: "support"
}

PaintModeButton
{
text: catalog.i18nc("@action:button", "ID Label")
icon: "Information"
tooltipText: catalog.i18nc("@tooltip", "Define a place on the model that'll be used to print an identifier on.")
mode: "label"
}
}

//Line between the sections.
Expand Down
2 changes: 2 additions & 0 deletions plugins/PaintTool/PaintView.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def _makePaintModes(self):
self._paint_modes = {
"seam": usual_types,
"support": usual_types,
"label": usual_types,
}
# NOTE: For the label, 'avoid' makes sense if there's a part _inside_ the label extents that's to be avoided.

def _checkSetup(self):
if not self._paint_shader:
Expand Down
Loading