Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bpy
- for a in bpy.data.actions:
- for fc in a.fcurves:
- if "location" in fc.data_path:
- a.fcurves.remove(fc)
- ob = bpy.context.object
- for pb in ob.pose.bones:
- pb.location = (0, 0, 0)
- bpy.ops.object.transform_apply(scale=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement