Removed debug output and fixed templates

Former-commit-id: ed1247742b
This commit is contained in:
Sebastian Koch
2016-06-17 18:10:45 +02:00
parent 19ef0d0074
commit 54d4e1a9e4
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -35,7 +35,7 @@ def update(viewer):
def key_down(viewer, key, modifier):
global boolean_type
# print(boolean_types)
if key == ord('.'):
boolean_type = boolean_types[(boolean_types.index(boolean_type) + 1) % (len(boolean_types))]
elif key == ord(','):
@@ -47,14 +47,13 @@ def key_down(viewer, key, modifier):
else:
return False
#igl.cgal.mesh_boolean(VA, FA, VB, FB, boolean_type, VC, FC)
update(viewer)
return False
if __name__ == "__main__":
# Mesh with per-face color
VA = igl.eigen.MatrixXd()
FA = igl.eigen.MatrixXi()
VB = igl.eigen.MatrixXd()