UI Templates: ('Any ID' Selector)
authorJoshua Leung <aligorith@gmail.com>
Wed, 14 Oct 2009 09:08:53 +0000 (09:08 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 14 Oct 2009 09:08:53 +0000 (09:08 +0000)
commit1ef163f1e0dd1c535c3c9b81670333f02c45b236
tree7712db76cbd30debb515ce4ab70d028197d55b93
parentdaebfaaa49186886af5bef2b579baed7c4c6e93f
UI Templates: ('Any ID' Selector)

Added new template for choosing to use any type of ID-block. The first combo box allows you to choose the type of ID-block that gets used, and the second box allows you to choose the ID-block of the type specified by the first one.

This is currently used for setting the ID-block used for Keying Sets, but the main user for this was intended to be the Drivers UI. However, I still need to clear up a few button-event issues there before I can port this over.

Additional Bugfixes:
* Adding new Keying Set path was setting the active path wrong, meaning that you had to click on the list to get some response after adding
* Bone Groups list was being drawn too long by default (when empty)
release/scripts/ui/buttons_data_armature.py
release/scripts/ui/buttons_scene.py
source/blender/editors/animation/keyingsets.c
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_templates.c
source/blender/makesdna/DNA_anim_types.h
source/blender/makesrna/RNA_enum_types.h
source/blender/makesrna/intern/rna_ID.c
source/blender/makesrna/intern/rna_animation.c
source/blender/makesrna/intern/rna_fcurve.c
source/blender/makesrna/intern/rna_ui_api.c