BBIM: Attempt to fix 3D viewport decoration issue

This commit is contained in:
Sigma Dimensions
2023-01-20 10:12:42 +01:00
parent 7a3e53a9f8
commit 893fd50b85
@@ -414,7 +414,7 @@ class BaseDecorator:
pos += Vector((-sin, cos)) * gap
blf.enable(font_id, blf.ROTATION)
blf.position(font_id, pos.x, pos.y, 0)
blf.position(font_id, pos.x, pos.y, 0) if hasattr(pos, "x") else blf.position(font_id, 0, 0, 0)
blf.rotation(font_id, ang)
blf.color(font_id, *color)