MUIDrawManager displays font size 12 differently when called from drawFeedback and doDrag

MUIDrawManager displays font size 12 differently when called from drawFeedback and doDrag

jmreinhart
Advisor Advisor
761 Views
0 Replies
Message 1 of 1

MUIDrawManager displays font size 12 differently when called from drawFeedback and doDrag

jmreinhart
Advisor
Advisor

So I have a plugin that draws a weight value for each selected vertex. When I am modifying that weight value by clicking and dragging the text is drawn at the correct size. When the mouse is not held down the same weight value is drawn by the drawFeedback method and it is smaller. Very strangely this only appears to occur when the fontSize is 12. If the fontSize is 11 or 13 the size of the text is consistent.

 

I attached two short videos that show off the issue, the first is me testing the full tool, and in the second I draw the text in a static position to show it more easily.

 

This affects both the text and text2d function.

 

I am encountering this issue in Maya 2023 on Windows with a plugin compiled using Visual Studio 2017.

 

 

0 Likes
762 Views
0 Replies
Replies (0)