fixed MTEXT rotation for negative extrusion vectors
@@ -98,7 +98,7 @@ def _get_rotation(text: AnyText) -> Matrix44:
if isinstance(text, Text):
return Matrix44.axis_rotate(text.dxf.extrusion, radians(text.dxf.rotation))
if isinstance(text, MText):
- return Matrix44.axis_rotate(text.dxf.extrusion, radians(text.get_rotation()))
+ return Matrix44.axis_rotate(Vec3(0, 0, 1), radians(text.get_rotation()))
elif isinstance(text, (Attrib, AttDef)):
return Matrix44()
else:
