I am writing a simple add-on to move the 3D Cursor. It works with a modal operator, the 3D locations follows the mouse position, but it gets the input from the keyboard if the user wants to type a specific dimension. I created a draw handler to show the keyboard input during the modal. It's working, if I press the keyboard number it stores the numbers as it should, but it doesn't show anything until I move the mouse. I would like it to show the numbers as I pressed them on the keyboard. Is there any way I can achieve that?
Asked
Active
Viewed 14 times
0
tag_redrawto tag a redraw. May also be of interest https://blender.stackexchange.com/a/161773/15543 – batFINGER Jan 16 '21 at 15:21