Code cleanup: pep8

This commit is contained in:
Campbell Barton
2014-01-29 02:16:16 +11:00
parent deab0d1040
commit a283b099b1
8 changed files with 221 additions and 42 deletions

View File

@@ -1133,9 +1133,11 @@ def iter_three_segments(stroke):
it3.increment()
it4.increment()
def is_tvertex(svertex):
return type(svertex.viewvertex) is TVertex
class StrokeCleaner(StrokeShader):
def shade(self, stroke):
for sv1, sv2, sv3, sv4 in iter_three_segments(stroke):