use a dynamic enum for addons, annoyingly the enum was being generated from python...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 26 May 2011 18:11:59 +0000 (18:11 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 26 May 2011 18:11:59 +0000 (18:11 +0000)
commitc6705e464f0eaa53564f8c41ccd6c7956d7f4837
tree62ba1594f0b5892896885584e586e9d1b32c0b85
parent57c3c9e70f0f5ad043f07ddaa25ed7d0cd5020e0
use a dynamic enum for addons, annoyingly the enum was being generated from python for each of the addon buttons (~14 times per draw) which was noticeably slow, so disabling 'expand' for now.

Eventually it would be good to have the expanded buttons all using the same result from itemf().
release/scripts/startup/bl_ui/__init__.py
release/scripts/startup/bl_ui/space_userpref.py