diff --git a/butils.py b/butils.py index dcfd1bf..de645db 100644 --- a/butils.py +++ b/butils.py @@ -394,14 +394,12 @@ def load_font_from_filepath(filepath): all_objects = [] for o in bpy.data.objects: all_objects.append(o) - print("all objects", len(all_objects)) for o in all_objects: if o.name not in allObjectsBefore: # must be new if ("glyph" in o.keys() and "face_name" in o.keys() and "font_name" in o.keys()): - print("adding glyph", o) glyph_id = o["glyph"] font_name = o["font_name"] face_name = o["face_name"] @@ -427,10 +425,8 @@ def load_font_from_filepath(filepath): print(f"{__name__} added {font_name}") else: remove_list.append(o) - print("add to remove list", o) for o in remove_list: bpy.data.objects.remove(o, do_unlink=True) - print("removed",o) print(f"{__name__}: loaded fonts") def getPreferences(context):