On 01/03/2014 at 13:38, xxxxxxxx wrote:
Hi
I have made a ToolData plugin that does some drawing in the active 3d editor window. Its working exactly as i want to. I hoped to be able to draw an underlay of supporting lines in the TextureViewer as well when the user switches to UV editing, but i can't figure out how to draw 2d lines in the TextureViewer like i can in the 3d editors. I can't even figure out how to detect when the mouse is over or clicked in the TextureViewer
Anybody know how the UV polygons are drawn in the TextureViewer? And if its possible to draw lines like that in the TextureViewer with Python?
Any help appreciated?
Cheers
Bonsak