change to insert_keyframe() so an array index of -1 keys all arrays indices
made this default for python so you can do...
pose_bone.keyframe_insert("location")
rather then
pose_bone.keyframe_insert("location", 0)
pose_bone.keyframe_insert("location", 1)
pose_bone.keyframe_insert("location", 2)
This commit is contained in:
@@ -1155,7 +1155,7 @@ static PySequenceMethods pyrna_prop_as_sequence = {
|
||||
static PyObject *pyrna_struct_keyframe_insert(BPy_StructRNA * self, PyObject *args)
|
||||
{
|
||||
char *path, *path_full;
|
||||
int index= 0;
|
||||
int index= -1; /* default to all */
|
||||
float cfra = CTX_data_scene(BPy_GetContext())->r.cfra;
|
||||
PropertyRNA *prop;
|
||||
PyObject *result;
|
||||
|
||||
Reference in New Issue
Block a user