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>2010-03-24 15:48:03 +0300
committerJoshua Leung <aligorith@gmail.com>2010-03-24 15:48:03 +0300
commit230a2e62f09f3e9c18aa585231985023a7c270bb (patch)
tree5d2a415f08d4ee1886bd961b9920450d9edf836b /release
parent094098fa9d8caba99376e6b33dd607c8a0ece448 (diff)
Keying Sets - PyAPI consistency issues:
* Added 'id_name' property, which is used as the "typeinfo_name" by Keying Set instances. This is simply the name of the relevant KeyingSetInfo classes. * Renamed the 'array_index' arg for ks.add_path() to 'index'. Also removed the 'entire array' toggle arg in favour of just passing -1 to index. However, Keying Sets in general still maintain their 'entire array' toggle flags for now, it's just that the API function does conversion between the two.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/keyingsets/keyingsets_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/keyingsets/keyingsets_utils.py b/release/scripts/keyingsets/keyingsets_utils.py
index 78e170c88f9..2097018fffb 100644
--- a/release/scripts/keyingsets/keyingsets_utils.py
+++ b/release/scripts/keyingsets/keyingsets_utils.py
@@ -70,7 +70,7 @@ def RKS_GEN_available(ksi, context, ks, data):
# for each F-Curve, include an path to key it
# NOTE: we don't need to set the group settings here
for fcu in adt.action.fcurves:
- ks.add_path(id_block, fcu.rna_path, array_index=fcu.array_index, entire_array=False)
+ ks.add_path(id_block, fcu.rna_path, index=fcu.array_index)
# ------