Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-28 19:13:12 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-28 19:13:12 +0300
commit68abfd076b18e63ee2e78b11c73c6b988c231a4c (patch)
treefb25b8e083e702826f3caa2f72f91bfce355e1d7 /source/blender/editors/animation/keyingsets.c
parent59d85ae4d4da1da5186d8389b7741399827a5ff2 (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.c2
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) {