[Bf-blender-cvs] [314aa17] master: Fix When using keying sets, the toggling "all items" in the array target only goes from the index value down, instead of keying all

Joshua Leung noreply at git.blender.org
Fri Apr 1 01:55:59 CEST 2016


Commit: 314aa1767883275ecacd29ee20f590621c05c74e
Author: Joshua Leung
Date:   Fri Apr 1 12:44:53 2016 +1300
Branches: master
https://developer.blender.org/rB314aa1767883275ecacd29ee20f590621c05c74e

Fix When using keying sets, the toggling "all items" in the array target only goes from the index value down, instead of keying all

===================================================================

M	source/blender/editors/animation/keyingsets.c

===================================================================

diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c
index 8071805..b907ad1 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 */




More information about the Bf-blender-cvs mailing list