From adc5ad8ea6821455c832515b7ea24fef80dbaee1 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Wed, 7 Aug 2024 11:47:02 +0200 Subject: [PATCH] cleanup remove prints --- butils.py | 4 ---- 1 file changed, 4 deletions(-) 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):