diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-28 19:13:12 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-28 19:13:12 +0300 |
commit | 68abfd076b18e63ee2e78b11c73c6b988c231a4c (patch) | |
tree | fb25b8e083e702826f3caa2f72f91bfce355e1d7 /source/blender/editors/animation/keyingsets.c | |
parent | 59d85ae4d4da1da5186d8389b7741399827a5ff2 (diff) |
Fix RMB menu insert driver not working on some buttons, passing
wrong pointer into RNA.
Diffstat (limited to 'source/blender/editors/animation/keyingsets.c')
-rw-r--r-- | source/blender/editors/animation/keyingsets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index 9d21eded9c7..07a072d533d 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -339,7 +339,7 @@ static int add_keyingset_button_exec (bContext *C, wmOperator *op) uiAnimContextProperty(C, &ptr, &prop, &index); /* check if property is able to be added */ - if (ptr.data && prop && RNA_property_animateable(ptr.data, prop)) { + if (ptr.data && prop && RNA_property_animateable(&ptr, prop)) { path= RNA_path_from_ID_to_property(&ptr, prop); if (path) { |