Fix T76736: incorrect filename in SVG, fails to load elsewhere
This commit is contained in:
parent
f5edd05a3b
commit
86c4ca71ef
Notes:
blender-bot
2023-02-13 22:31:59 +01:00
Referenced by issue blender/blender#76736, Problems of UV coordinates and SVG export
|
@ -22,7 +22,7 @@ import bpy
|
|||
|
||||
|
||||
def export(filepath, face_data, colors, width, height, opacity):
|
||||
with open(filepath, "w") as file:
|
||||
with open(filepath, 'w', encoding='utf-8') as file:
|
||||
for text in get_file_parts(face_data, colors, width, height, opacity):
|
||||
file.write(text)
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ from os.path import basename
|
|||
from xml.sax.saxutils import escape
|
||||
|
||||
def export(filepath, face_data, colors, width, height, opacity):
|
||||
with open(filepath, "w") as file:
|
||||
with open(filepath, 'w', encoding='utf-8') as file:
|
||||
for text in get_file_parts(face_data, colors, width, height, opacity):
|
||||
file.write(text)
|
||||
|
||||
|
|
Loading…
Reference in New Issue