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