Added hidden preference to suppress the opencamlib error

This commit is contained in:
Markus Lampert
2020-12-13 22:15:32 -08:00
parent 69e9639a9e
commit c7e914ecc0
2 changed files with 7 additions and 2 deletions

View File

@@ -58,7 +58,8 @@ GeometryTolerance = "GeometryTolerance"
LibAreaCurveAccuracy = "LibAreaCurveAccuarcy"
WarningSuppressRapidSpeeds = "WarningSuppressRapidSpeeds"
WarningSuppressSelectionMode = "WarningSuppressSelectionMode"
WarningSuppressSelectionMode = "WarningSuppressSelectionMode"
WarningSuppressOpenCamLib = "WarningSuppressOpenCamLib"
EnableExperimentalFeatures = "EnableExperimentalFeatures"
@@ -267,6 +268,9 @@ def suppressRapidSpeedsWarning():
def suppressSelectionModeWarning():
return preferences().GetBool(WarningSuppressSelectionMode, False)
def suppressOpenCamLibWarning():
return preferences().GetBool(WarningSuppressOpenCamLib, False)
def lastFileToolLibrary():
filename = preferences().GetString(LastFileToolLibrary)