Skip to content

Commit

Permalink
Make CTM object available
Browse files Browse the repository at this point in the history
  • Loading branch information
lejafar committed Aug 28, 2018
1 parent d8f9ac6 commit 4aa6188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openctm/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .io import import_mesh, export_mesh
from .io import import_mesh, export_mesh, CTM
2 changes: 1 addition & 1 deletion openctm/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def export_mesh(_ctm, _filename):
ctm_context = ctmNewContext(CTM_EXPORT)

if not _filename.lower().endswith('.ctm'):
_filename += '.ctm'
_filename += '.ctm'

try:
vertex_count = len(_ctm.vertices)
Expand Down

0 comments on commit 4aa6188

Please sign in to comment.