font loading

filter metrics
This commit is contained in:
themancalledjakob 2024-08-08 11:30:39 +02:00
parent 0c0d8d0a7f
commit f3e58b2dab

View file

@ -693,6 +693,8 @@ class FONT3D_OT_SaveFontToFile(bpy.types.Operator):
export_objects = [] export_objects = []
for obj in fontcollection.objects: for obj in fontcollection.objects:
if obj["font_name"] == selected_font.font_name: if obj["font_name"] == selected_font.font_name:
if not butils.is_metrics_object(obj):
# butils.add_faces_to_metrics(obj)
obj.select_set(True) obj.select_set(True)
export_objects.append(obj) export_objects.append(obj)