diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-04-01 02:44:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:36:12 +0300 |
commit | f590b2f89f53f458c166f2de31f5881efacc4fe7 (patch) | |
tree | c08e6ba080a5aa0aecec720aa4a5f0f1610b47ac /source/blender | |
parent | 81e8bd107f4d5416ec4749731623da532fd47c84 (diff) |
Fix When using keying sets, the toggling "all items" in the array target only goes from the index value down, instead of keying all
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/animation/keyingsets.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index 4b9a629183e..6a301d52935 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -1014,8 +1014,10 @@ int ANIM_apply_keyingset(bContext *C, ListBase *dsources, bAction *act, KeyingSe PropertyRNA *prop; RNA_id_pointer_create(ksp->id, &id_ptr); - if (RNA_path_resolve_property(&id_ptr, ksp->rna_path, &ptr, &prop)) + if (RNA_path_resolve_property(&id_ptr, ksp->rna_path, &ptr, &prop)) { arraylen = RNA_property_array_length(&ptr, prop); + i = 0; /* start from start of array, instead of the previously specified index - T48020 */ + } } /* we should do at least one step */ |