Fix for py3 import

This commit is contained in:
kreso-t
2018-08-24 21:23:28 +02:00
committed by wmayer
parent e7f057accc
commit 6981d75d56
2 changed files with 2 additions and 16 deletions

View File

@@ -165,21 +165,7 @@ class ADAPTIVEGate:
obj = obj.Shape
except:
return False
if obj.ShapeType == 'Edge':
adaptive = True
elif obj.ShapeType == 'Face':
adaptive = True
elif obj.ShapeType == 'Solid':
if sub and sub[0:4] == 'Face':
adaptive = True
elif obj.ShapeType == 'Compound':
if sub and sub[0:4] == 'Face':
adaptive = True
return adaptive
class CONTOURGate: