[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-11-10 23:43:45 +00:00
parent a7f43c891e
commit e6cbf6f800

View File

@@ -457,7 +457,7 @@ class ObjectVcarve(PathEngraveBase.ObjectOp):
obj.Discretize = 0.25
obj.Tolerance = Path.Preferences.defaultGeometryTolerance()
# keep copy in local object to use in methods which do not operate directly on obj
# we use getattr because OpsDefaultEditor may trigger this method to gather list of
# we use getattr because OpsDefaultEditor may trigger this method to gather list of
# default operation settings but reading from OpPrototype object fails
self.Tolerance = getattr(obj, "Tolerance", Path.Preferences.defaultGeometryTolerance())
self.setupAdditionalProperties(obj)