diff --git a/butils.py b/butils.py index 33349a5..f847400 100644 --- a/butils.py +++ b/butils.py @@ -565,13 +565,13 @@ def set_text_on_curve(text_properties): text_properties.font_face, glyph_id) + if glyph == None: + # self.report({'ERROR'}, f"Glyph not found for {font_name} {font_face} {glyph_id}") + print(f"Glyph not found for {text_properties.font_name} {text_properties.font_face} {glyph_id}") + continue + ob = None if regenerate: - if glyph == None: - # self.report({'ERROR'}, f"Glyph not found for {font_name} {font_face} {glyph_id}") - print(f"Glyph not found for {font_name} {font_face} {glyph_id}") - continue - ob = bpy.data.objects.new(f"{glyph_id}", glyph.data) ob['linked_textobject'] = text_properties.text_id else: