mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
Use actual text position instead of local pos rendering drawings text decorations
E.g. it's important if text is part of parametric array and it's local position may be constant, but it's constrainet by parent's position.
This commit is contained in:
@@ -590,7 +590,7 @@ class BaseDecorator:
|
||||
"""if `text_world_position` is not provided, the object's location will be used"""
|
||||
|
||||
if not text_world_position:
|
||||
text_world_position = obj.location
|
||||
text_world_position = obj.matrix_world.translation
|
||||
|
||||
region = context.region
|
||||
region3d = context.region_data
|
||||
|
||||
Reference in New Issue
Block a user