diff --git a/butils.py b/butils.py index 943ab63..3a5f5d9 100644 --- a/butils.py +++ b/butils.py @@ -659,6 +659,10 @@ def set_text_on_curve(text_properties): def add_metrics_obj_from_bound_box(glyph, bound_box=None): mesh = bpy.data.meshes.new(f"{glyph.name}_metrics") # add the new mesh obj = bpy.data.objects.new(mesh.name, mesh) + obj["font_name"] = glyph["font_name"] + obj["face_name"] = glyph["face_name"] + obj["glyph"] = glyph["glyph"] + obj["type"] = "metrics" col = glyph.users_collection[0] col.objects.link(obj) # bpy.context.view_layer.objects.active = obj