Blender Git Loki

Git Commits -> Revision bb69543

Revision bb69543 by Joseph Gilbert (master)
May 16, 2006, 20:32 (GMT)
*added new Object method Object.evaluatePose(frame)
- the new methods will advance an object's pose correctly to any frame

Example:
myobj = Blender.Object.Get('obert')
for x in range(10):
myobj.evaluatePose(x)
pose = myobj.getPose()
print 'Data at Frame %d' % x
for bone in pose.bones.values():
print bone.head, bone.tail
print bone.head, bone.tail

Commit Details:

Full Hash: bb69543fa927592e7b88399e16ae96fb6f723211
SVN Revision: 7455
Parent Commit: d4ec632
Lines Changed: +25, -0

2 Modified Paths:

/source/blender/python/api2_2x/doc/Object.py (+7, -0) (Diff)
/source/blender/python/api2_2x/Object.c (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021