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:
authorJoshua Leung <aligorith@gmail.com>2016-04-01 02:44:53 +0300
committerJoshua Leung <aligorith@gmail.com>2016-04-01 02:52:26 +0300
commit314aa1767883275ecacd29ee20f590621c05c74e (patch)
tree11e5ac34fbfb9c72285fc0f069ad6871101c7ee2 /source/blender/editors/animation/keyingsets.c
parentee324aacdd4a639321bd5b211c7b4d57b04c796d (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/editors/animation/keyingsets.c')
-rw-r--r--source/blender/editors/animation/keyingsets.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c
index 8071805fd63..b907ad150aa 100644
--- a/source/blender/editors/animation/keyingsets.c
+++ b/source/blender/editors/animation/keyingsets.c
@@ -1015,8 +1015,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 */