Commit 2cb00a4c authored by Guillaume Seguin's avatar Guillaume Seguin

Fix accentuated filenames handling in platers

parent cbc2ea73
...@@ -237,6 +237,7 @@ class Plater(wx.Frame): ...@@ -237,6 +237,7 @@ class Plater(wx.Frame):
def add_model(self, name, model): def add_model(self, name, model):
newname = os.path.split(name.lower())[1] newname = os.path.split(name.lower())[1]
newname = unicode(newname, "utf-8")
c = 1 c = 1
while newname in self.models: while newname in self.models:
newname = os.path.split(name.lower())[1] newname = os.path.split(name.lower())[1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment