mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
BBIM: Attempt to fix 3D viewport decoration issue
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user