Merge branch 'blender-v4.3-release'
This commit is contained in:
@@ -116,7 +116,7 @@ def _read_blend_rend_chunk_from_file(blendfile, filepath):
|
||||
|
||||
scene_name = scene_name[:scene_name.index(b'\0')]
|
||||
# It's possible old blend files are not UTF8 compliant, use `surrogateescape`.
|
||||
scene_name = scene_name.decode("utf8", errors='surrogateescape')
|
||||
scene_name = scene_name.decode("utf8", errors="surrogateescape")
|
||||
|
||||
scenes.append((start_frame, end_frame, scene_name))
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@ def compat_str(text, line_length=0):
|
||||
text_ls.append(text)
|
||||
text = '\n '.join(text_ls)
|
||||
|
||||
# text = text.replace('.', '.\n')
|
||||
# text = text.replace(']', ']\n')
|
||||
# text = text.replace(".", ".\n")
|
||||
# text = text.replace("]", "]\n")
|
||||
text = text.replace("\n", "\\n")
|
||||
text = text.replace('"', '\\"')
|
||||
return text
|
||||
|
||||
Reference in New Issue
Block a user