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!
Never mind - it seems adding a poll() function did the trick.