Skip to content

Instantly share code, notes, and snippets.

@anthonyesau
anthonyesau / convert_anim.py
Created October 18, 2015 02:15 — forked from pink-vertex/convert_anim.py
Applies parent inverse matrix to the child's local matrix.
import bpy
import mathutils
class Converter:
def __init__(self, ob, logging=False):
self.ob = ob
self.action = ob.animation_data.action
self.rot_mode = ob.rotation_mode
self.logging = logging