fix first wrong placement

This commit is contained in:
jrkb 2025-05-13 17:28:45 +02:00
parent c063c7af1d
commit 47bc10df3f

View file

@ -936,9 +936,10 @@ def set_text_on_curve(text_properties, reset_timeout_s=0.1, reset_depsgraph_n=4)
is_newline = True
if regenerate:
ob.location = mom.matrix_world @ (
location + text_properties.translation
)
# ob.location = mom.matrix_world @ (
# location + text_properties.translation
# )
ob.location = location + text_properties.translation
mom.users_collection[0].objects.link(obg)
mom.users_collection[0].objects.link(ob)
ob.parent = mom