Previous Thread  Next Thread

chat icon Information Panel: How to Update It?

toxikman

Posted: Wed Jun 27, 2012 9:59 pm
Joined: 17 May 2012
Posts: 12
I've got a simple panel that attaches to the 3D view (bl_space_type=VIEW_3D) information panel (bl_region_type=WINDOW). It displays only in pose mode.

I want the panel to display some custom information about the selected pose bones. I generate this information in the draw() function of the panel and display it using row.label().

However, the information does not update when I change the selected pose bones. How do I get the panel to redraw itself in this case?

Thanks! Very Happy
Reply with quote


toxikman

Posted: Wed Jun 27, 2012 10:18 pm
Joined: 17 May 2012
Posts: 12
Never mind - it seems adding a poll() function did the trick.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group