OSDN Git Service

add warnings
[meshio/pymeshio.git] / pymeshio / mqo / __init__.py
index e986d42..e00d9ae 100644 (file)
@@ -9,6 +9,7 @@ import sys
 import math\r
 import pymeshio.common\r
 import pymeshio.mqo.loader\r
+import warnings\r
 \r
 \r
 """\r
@@ -231,6 +232,7 @@ class IO(object):
         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(path)\r
         if model:\r
             self.has_mikoto=model.has_mikoto\r