From 4aa6188892cfdfda9fc19995550587044dd2419e Mon Sep 17 00:00:00 2001 From: Rafael Hautekiet Date: Tue, 28 Aug 2018 16:38:50 +0200 Subject: [PATCH] Make CTM object available --- openctm/__init__.py | 2 +- openctm/io.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)