font loading
filter metrics
This commit is contained in:
parent
0c0d8d0a7f
commit
f3e58b2dab
1 changed files with 4 additions and 2 deletions
|
@ -693,8 +693,10 @@ class FONT3D_OT_SaveFontToFile(bpy.types.Operator):
|
|||
export_objects = []
|
||||
for obj in fontcollection.objects:
|
||||
if obj["font_name"] == selected_font.font_name:
|
||||
obj.select_set(True)
|
||||
export_objects.append(obj)
|
||||
if not butils.is_metrics_object(obj):
|
||||
# butils.add_faces_to_metrics(obj)
|
||||
obj.select_set(True)
|
||||
export_objects.append(obj)
|
||||
|
||||
context_override = bpy.context.copy()
|
||||
context_override["selected_objects"] = list(export_objects)
|
||||
|
|
Loading…
Reference in a new issue