diff --git a/__init__.py b/__init__.py index a4021ab..697e857 100644 --- a/__init__.py +++ b/__init__.py @@ -2036,31 +2036,21 @@ def on_depsgraph_update(scene, depsgraph): if text_properties is not None: if text_properties.text_object == u.id.original: # nothing to do + try: + butils.set_text_on_curve(text_properties) + except: + pass pass elif butils.is_text_object_legit(u.id.original): # must be duplicate link_text_object_with_new_text_properties(u.id.original, scene) - # butils.prepare_text( - # text_properties.font_name, - # text_properties.face_name, - # text_properties.text, - # ) elif ( butils.is_text_object_legit(u.id.original) and len(u.id.original.users_collection) > 0 ): # must be a new thing, maybe manually created or so link_text_object_with_new_text_properties(u.id.original, scene) - # butils.prepare_text( - # text_properties.font_name, - # text_properties.face_name, - # text_properties.text, - # ) butils.clean_text_properties() - try: - butils.set_text_on_curve(text_properties) - except: - pass update_active_text_index() unlock_depsgraph_updates()