Skip to content

Commit

Permalink
BIM: Fix bug in OBJ import caused by missing utf8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-043 authored and yorikvanhavre committed Jul 19, 2024
1 parent ff61f56 commit 51789ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/BIM/importers/importOBJ.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def insert(filename,docname):
doc = FreeCAD.newDocument(docname)
FreeCAD.ActiveDocument = doc

with pythonopen(filename,"r") as infile:
with pythonopen(filename,"r",encoding="utf8") as infile:
verts = []
facets = []
activeobject = None
Expand Down

0 comments on commit 51789ae

Please sign in to comment.