I’m trying to create in my plugin a custom Pipeline that draw text tags in viewport for given shapes. When the command runs something like this appears:
Well, looks fine. However, when I try to print the viewport, the texts awkwardly get’s out of position:
Any ideas on why this is happening?
I created an example in github which replicates the pipeline functionality:
The example is really simple and is intended only to replicate the issue. The actual code is way smarter and also handles deleting the tags when the shapes are removed (which not happens in the example), but for sanity and confidentiality I cannot show the whole code.
Thanks in advance,