diff --git a/openctm/__init__.py b/openctm/__init__.py index 622ecfe..c7e446b 100644 --- a/openctm/__init__.py +++ b/openctm/__init__.py @@ -1 +1 @@ -from .io import import_mesh, export_mesh +from .io import import_mesh, export_mesh, CTM diff --git a/openctm/io.py b/openctm/io.py index a785faa..2b97fe7 100644 --- a/openctm/io.py +++ b/openctm/io.py @@ -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)