OSDN Git Service

fix refactoring
[meshio/pymeshio.git] / pymeshio / mqo / __init__.py
index 45aca2e..6eeda67 100644 (file)
@@ -8,7 +8,7 @@ import os
 import sys\r
 import math\r
 import pymeshio.common\r
-import pymeshio.mqo.loader\r
+import pymeshio.mqo.reader\r
 import warnings\r
 \r
 \r
@@ -227,16 +227,3 @@ class Model(object):
         self.objects=[]\r
 \r
 \r
-class IO(object):\r
-    def __init__(self):\r
-        pass\r
-\r
-    def read(self, path):\r
-        warnings.warn("'pymeshio.mqo.IO.read' will be replaced by 'pymeshio.mqo.loader.load'")\r
-        model=pymeshio.mqo.loader.load_from_file(path)\r
-        if model:\r
-            self.has_mikoto=model.has_mikoto\r
-            self.materials=model.materials\r
-            self.objects=model.objects\r
-            return True\r
-\r