Merge pull request #733 from fieldOfView/feature_scale_tiny_meshes

Add a preference for scaling up tiny objects
This commit is contained in:
Jaime van Kessel 2016-05-04 13:10:19 +02:00
commit 3705072c6f
2 changed files with 15 additions and 0 deletions

View file

@ -136,6 +136,20 @@ UM.PreferencesPage
}
}
UM.TooltipArea {
width: childrenRect.width
height: childrenRect.height
text: catalog.i18nc("@info:tooltip","Should opened files be scaled up if they are extremely small?")
CheckBox
{
id: scaleTinyCheckbox
text: catalog.i18nc("@option:check","Scale extremely small files")
checked: boolCheck(UM.Preferences.getValue("mesh/scale_tiny_meshes"))
onCheckedChanged: UM.Preferences.setValue("mesh/scale_tiny_meshes", checked)
}
}
UM.TooltipArea {
width: childrenRect.width
height: childrenRect.height