Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import bpy
  2.  
  3. for action in bpy.data.actions:
  4.     for fcurve in action.fcurves:
  5.         for point in fcurve.keyframe_points:
  6.             offset = bpy.context.scene.frame_end - point.co.x
  7.             point.co.x = offset
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement