From 35b85c05393b11ad62ee6125279750d671a7481a Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 14 May 2019 16:54:09 +0300 Subject: [PATCH] Fix for '16926 [CEA 16749] MeshCut Python encoding issue' issue --- src/Tools/MeshCut/meshcut_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/MeshCut/meshcut_plugin.py b/src/Tools/MeshCut/meshcut_plugin.py index 0d06e5804..1aac3b4b7 100644 --- a/src/Tools/MeshCut/meshcut_plugin.py +++ b/src/Tools/MeshCut/meshcut_plugin.py @@ -51,7 +51,7 @@ def MeshCut(context): self.ui.le_origMeshFile.setText(infile) insplit = os.path.splitext(str(infile).encode()) outfile = insplit[0] + '_cut'.encode() + insplit[1] - self.ui.le_cutMeshFile.setText(outfile) + self.ui.le_cutMeshFile.setText(outfile.decode()) pass def setOutputFile(self): -- 2.39.2