OSDN Git Service

move pymeshio directory
[meshio/pymeshio.git] / examples / pymeshviewer.py
index 6aa79ac..29e7f48 100644 (file)
@@ -42,6 +42,7 @@ class Frame(tkinter.Frame):
                     ('poloygon model files', '*.mqo;*.pmd'),\r
                     ], \r
                 initialdir=self.current)\r
+        self.current=os.path.dirname(path)\r
         self.load(path)\r
 \r
     def load(self, path):\r