OSDN Git Service

refactoring pmd.writer
[meshio/pymeshio.git] / pymeshio / mqo / __init__.py
index e00d9ae..45aca2e 100644 (file)
@@ -233,7 +233,7 @@ class IO(object):
 \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(path)\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