Fixed refactoring errors.

This commit is contained in:
Markus Lampert
2017-10-08 10:57:08 -07:00
parent d75a864920
commit c75b3b911d

View File

@@ -107,9 +107,9 @@ class _CommandSelectLoop:
if names[0][0:4] == 'Face' and horizontalFaceLoop(obj, sub, names):
return True
return False
if len(sel.SubElementNames) == 1 and horizontalEdgeLoop(obj, sub):
if len(names) == 1 and horizontalEdgeLoop(obj, sub):
return True
if names[1][0:4] != 'Edge':
if len(names) == 1 or names[1][0:4] != 'Edge':
return False
return True