diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-14 13:08:53 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-14 13:08:53 +0400 |
commit | 1ef163f1e0dd1c535c3c9b81670333f02c45b236 (patch) | |
tree | 7712db76cbd30debb515ce4ab70d028197d55b93 /source/blender/makesdna/DNA_anim_types.h | |
parent | daebfaaa49186886af5bef2b579baed7c4c6e93f (diff) |
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)
Diffstat (limited to 'source/blender/makesdna/DNA_anim_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index fedde34ae18..195d68d63ff 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -246,7 +246,9 @@ typedef struct DriverTarget { char *rna_path; /* target channel to use as driver value */ int array_index; /* if applicable, the index of the RNA-array item to use as driver */ + int idtype; /* type of ID-block that this target can use */ int flags; /* flags for the validity of the target */ + int pad; char name[64]; /* name of the variable */ } DriverTarget; |