Fixed surface settings.

This commit is contained in:
Markus Lampert
2018-08-25 20:55:19 -07:00
parent 846849980b
commit 6328e4790d
2 changed files with 3 additions and 1 deletions

View File

@@ -81,7 +81,8 @@ class ObjectSurface(PathOp.ObjectOp):
obj.Algorithm = ['OCL Dropcutter', 'OCL Waterline']
obj.SampleInterval = (0.04, 0.01, 1.0, 0.01)
self.setEditorProperties(obj)
if not hasattr(obj, 'DoNotSetDefaultValues'):
self.setEditorProperties(obj)
def setEditorProperties(self, obj):
if obj.Algorithm == 'OCL Dropcutter':