Adaptive path to allow selection of edges

This commit is contained in:
kreso-t
2018-08-22 19:32:32 +02:00
committed by wmayer
parent 7541343022
commit 29013240ef

View File

@@ -160,14 +160,14 @@ class POCKETGate:
class ADAPTIVEGate:
def allow(self, doc, obj, sub):
adaptive = False
adaptive = True
try:
obj = obj.Shape
except:
return False
if obj.ShapeType == 'Edge':
adaptive = False
adaptive = True
elif obj.ShapeType == 'Face':
adaptive = True