diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-03-17 14:34:27 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-03-17 14:34:27 +0300 |
commit | be3d5f9d5df90737c01338266efd72b3367b9e6c (patch) | |
tree | afb137909b69c50ad3538b4e7de2fc3195d4eff0 /source/blender/makesrna/intern | |
parent | 1d4b93214520045e67eb535393d6056f41feaa54 (diff) |
PyKeyingSet Bugfixes:
* With multiple objects selected, only one of the objects got keyframed. The code which was checking for duplicate paths was wrongly assuming to ignore the ID-block used still.
* Not registering a Keying Set as 'builtin' would crash on startup. I've made all Keying Sets fallback to adding as if they were local for now, but a better solution is coming soon.
* Fixed a typo in RNA function wrappers for the generator callback, since it was looking for the iterator only. This doesn't seem to have caused any problems (thankfully).
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_animation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c index e048a79daf8..27f0dc5eafb 100644 --- a/source/blender/makesrna/intern/rna_animation.c +++ b/source/blender/makesrna/intern/rna_animation.c @@ -124,7 +124,7 @@ static void RKS_GEN_rna_internal(KeyingSetInfo *ksi, bContext *C, KeyingSet *ks, FunctionRNA *func; RNA_pointer_create(NULL, ksi->ext.srna, ksi, &ptr); - func= RNA_struct_find_function(&ptr, "iterator"); + func= RNA_struct_find_function(&ptr, "generate"); RNA_parameter_list_create(&list, &ptr, func); /* hook up arguments */ |