This commit is contained in:
themancalledjakob 2024-08-04 15:13:27 +02:00
parent b5feaa6678
commit a15c73a169

View file

@ -570,9 +570,6 @@ def set_text_on_curve(text_properties):
ob.rotation_mode = 'QUATERNION'
q = mathutils.Quaternion()
q.rotate(text_properties.orientation)
# mathutils.Euler((radians(text_properties.orientation.x),
# radians(text_properties.orientation.y),
# radians(text_properties.orientation.z))))
ob.rotation_quaternion = (mom.matrix_world @ motor[0] @ q.to_matrix().to_4x4()).to_quaternion()
scalor = 0.001