Commit b8abd1f3 authored by Guillaume Seguin's avatar Guillaume Seguin

1 => True

I'm ashamed of commiting so small things, but I can't stand boolean 1s
parent 0cae044e
...@@ -43,7 +43,7 @@ def homogeneous(v, w = 1): ...@@ -43,7 +43,7 @@ def homogeneous(v, w = 1):
def applymatrix(facet, matrix = I): def applymatrix(facet, matrix = I):
return genfacet(map(lambda x: matrix.dot(homogeneous(x))[:3], facet[1])) return genfacet(map(lambda x: matrix.dot(homogeneous(x))[:3], facet[1]))
def emitstl(filename, facets = [], objname = "stltool_export", binary = 1): def emitstl(filename, facets = [], objname = "stltool_export", binary = True):
if filename is None: if filename is None:
return return
if binary: if binary:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment