Now starting with 2.63 it 'pretends' to work but the pasted poses are not X-flipped. The code fragment which I guess is to blame for:
Code: Select all
for frame_item in self.keyframe_bone_dict.items ():
frame = frame_item[0]
bones = frame_item[1]
context.scene.frame_set(frame)
bpy.ops.pose.select_all(action='DESELECT')
for bone_item in bones.items ():
bone = bone_item[0]
bpy.context.active_object.data.bones[bone].select = True
bpy.ops.pose.copy()
if self.append_mode:
context.scene.frame_set(frame + self.append_frames_offset)
bpy.ops.pose.paste(flipped=True)
I studied the API changes at Blender API changes at http://www.blender.org/documentation/bl ... ml#to-2-63 but did not find any suspect thing. Only some minor changes to KeyingSets like name => bl_label.
Is there anything else changed? Or what else could lead to the changed behaviour?
I just started to read about how to submit code to bf-extensions Trackers and then I ran into this issue while testing with different versions. Now I really stuck as I am new to add-on development. Thanks a lot for your help
More info:
Video: http://www.youtube.com/watch?v=GChWp0W5lnA
Code: https://github.com/kayy/FlipAnimation
Blog: http://www.scio.de/en/blog-a-news/scio- ... in-blender