X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=examples%2Fpymeshviewer.py;fp=examples%2Fpymeshviewer.py;h=29e7f48e5b2d110a3c91652de943cc61d6675de7;hb=5ba11b5ad53ce8feccba2c2b916569237fef6bb5;hp=6aa79ac31f5a01e2da065c76f2e24c4d20ea73ed;hpb=c79f57bb45883efd97b22a6805e7e8f6846fee6d;p=meshio%2Fpymeshio.git diff --git a/examples/pymeshviewer.py b/examples/pymeshviewer.py index 6aa79ac..29e7f48 100644 --- a/examples/pymeshviewer.py +++ b/examples/pymeshviewer.py @@ -42,6 +42,7 @@ class Frame(tkinter.Frame): ('poloygon model files', '*.mqo;*.pmd'), ], initialdir=self.current) + self.current=os.path.dirname(path) self.load(path) def load(self, path):