diff --git a/__init__.py b/__init__.py index 817ec7f..db46034 100644 --- a/__init__.py +++ b/__init__.py @@ -704,7 +704,10 @@ class FONT3D_OT_SaveFontToFile(bpy.types.Operator): with bpy.context.temp_override(**context_override): filepath = f"{preferences.assets_dir}/fonts/{selected_font.font_name}.gltf" # get rid of scene extra data before export + scene_keys = [] for k in bpy.context.scene.keys(): + scene_keys.append(k) + for k in scene_keys: del bpy.context.scene[k] # save as gltf