mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
add xray error warning preference
This commit is contained in:
parent
643b27e160
commit
4b1a426873
1 changed files with 21 additions and 0 deletions
|
@ -86,6 +86,8 @@ UM.PreferencesPage
|
|||
prefixJobNameCheckbox.checked = boolCheck(UM.Preferences.getValue("cura/jobname_prefix"))
|
||||
UM.Preferences.resetPreference("view/show_overhang");
|
||||
showOverhangCheckbox.checked = boolCheck(UM.Preferences.getValue("view/show_overhang"))
|
||||
UM.Preferences.resetPreference("view/show_xray_error");
|
||||
showXrayErrorCheckbox.checked = boolCheck(UM.Preferences.getValue("view/show_xray_error"))
|
||||
UM.Preferences.resetPreference("view/center_on_select");
|
||||
centerOnSelectCheckbox.checked = boolCheck(UM.Preferences.getValue("view/center_on_select"))
|
||||
UM.Preferences.resetPreference("view/invert_zoom");
|
||||
|
@ -336,6 +338,25 @@ UM.PreferencesPage
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width;
|
||||
height: childrenRect.height;
|
||||
|
||||
text: catalog.i18nc("@info:tooltip", "Highlight missing or extraneous surfaces of the model using warning signs. The toolpaths will often be missing parts of the intended geometry.")
|
||||
|
||||
CheckBox
|
||||
{
|
||||
id: showXrayErrorCheckbox
|
||||
|
||||
checked: boolCheck(UM.Preferences.getValue("view/show_xray_warning"))
|
||||
onClicked: UM.Preferences.setValue("view/show_xray_warning", checked)
|
||||
|
||||
text: catalog.i18nc("@option:check", "Display model errors");
|
||||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue