UI: fix two issues with expanded enum property buttons:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 2 Jun 2011 14:18:51 +0000 (14:18 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 2 Jun 2011 14:18:51 +0000 (14:18 +0000)
commit7138fef58a9892c71c044a9c5d6761742c8ec095
treef447ca3936a892d0b8bec9b1bcca771e255a6a67
parentb4872b84c87ee5c7feade2fe684cd5823bf4c078
UI: fix two issues with expanded enum property buttons:
* they were too slow for dynamic python enums, calling the callback
  to list the items for each button, to get a tooltip
* enum tooltips sometimes were showing the same description twice
source/blender/editors/interface/interface.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_intern.h
source/blender/editors/interface/interface_regions.c