Maniphest T25596

bpy.types.FCurveKeyframePoints.add() does not add any Keyframe and returns None
Closed, Archived

Assigned To
None
Authored By
der On (der_on)
Jan 12 2011, 1:32 AM
Tags
  • Animation & Rigging
  • BF Blender
Subscribers
Brecht Van Lommel (brecht)
der On (der_on)

Description

Duplicates: T25588

OS: Linux (Ubuntu 10.04 64 bit)
Blender: r34269

When trying to add a keyframe to an existing fcurve with python nothing happens and the add() function also returns None, instead of a new Keyframe instance.

I was using this in my script without problems for months and now it brakes.

Refering to this documentation it should work: http://www.blender.org/documentation/blender_python_api_2_56_0/bpy.types.FCurveKeyframePoints.html#bpy.types.FCurveKeyframePoints

Example code:

someFCurve.keyframe_points.add(frame=bpy.context.scene.frame_current,value=1.0)

Event Timeline

der On (der_on) edited a custom field.Jan 12 2011, 1:32 AM
Brecht Van Lommel (brecht) added a comment.Jan 12 2011, 4:43 AM

This is a duplicate of bug #25588, so closing this one, thanks for the report.

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Archived.Jan 12 2011, 4:43 AM