diff options
Diffstat (limited to 'blenderkit/autothumb_material_bg.py')
-rw-r--r-- | blenderkit/autothumb_material_bg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/autothumb_material_bg.py b/blenderkit/autothumb_material_bg.py index 3e1c2f2b..d27d7b90 100644 --- a/blenderkit/autothumb_material_bg.py +++ b/blenderkit/autothumb_material_bg.py @@ -44,7 +44,7 @@ def unhide_collection(cname): if __name__ == "__main__": try: bg_blender.progress('preparing thumbnail scene') - with open(BLENDERKIT_EXPORT_DATA, 'r') as s: + with open(BLENDERKIT_EXPORT_DATA, 'r',encoding='utf-8') as s: data = json.load(s) # append_material(file_name, matname = None, link = False, fake_user = True) mat = append_link.append_material(file_name=BLENDERKIT_EXPORT_FILE_INPUT, matname=data["material"], link=True, |