fix for simplify curves due to API change #26823

Closed
opened 2011-04-07 17:43:49 +02:00 by Benjy Cook · 3 comments
Member

%%%User PKHG pointed out in the IRC channel that this script has been broken by the lastest api change.
bpy.types.Keyframe.co returns a tuple now, it seems it used to return a mathutils.Vector.
Anyway, I added conversions to mathutils.Vector in 3-4 places, and it's fine now.

Benjy%%%

%%%User PKHG pointed out in the IRC channel that this script has been broken by the lastest api change. bpy.types.Keyframe.co returns a tuple now, it seems it used to return a mathutils.Vector. Anyway, I added conversions to mathutils.Vector in 3-4 places, and it's fine now. Benjy%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%Thanks for the patch, but its nice to have vector access to keyframe coords so I changed the python api to wrap them as vectors again.
r36047.%%%

%%%Thanks for the patch, but its nice to have vector access to keyframe coords so I changed the python api to wrap them as vectors again. r36047.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#26823
No description provided.