def _encode(self, obj, context): try: return f32_to_u16(obj, 0., context._._.duration) except AttributeError as e: print "Whoops, this keyframe isn't parented properly!\n" raise return None
def _encode(self, obj, context): return f32_to_u16(obj, -5., 5.)
def _encode(self, obj, context): return f32_to_u16(obj, -1., 1.)