diff --git a/__init__.py b/__init__.py index a51d8fd..7379c5a 100644 --- a/__init__.py +++ b/__init__.py @@ -726,6 +726,12 @@ class FONT3D_OT_SaveFontToFile(bpy.types.Operator): bpy.ops.scene.delete() # restore() + for obj in fontcollection.objects: + if obj["font_name"] == selected_font.font_name: + if butils.is_metrics_object(obj): + butils.remove_faces_from_metrics(obj) + self.report({'INFO'}, f"did it") + return {'FINISHED'} # keep = ['io_anim_bvh', 'io_curve_svg', 'io_mesh_stl', 'io_mesh_uv_layout', 'io_scene_fbx', 'io_scene_gltf2', 'io_scene_x3d', 'cycles', 'pose_library', 'font3d'] # for addon in keep: