added getting names of shapes/KeyBlocks to bpy api so mikasaari can continue with his lipsync script (where names of phonemes are as names of shapes/keyblocks).

This commit is contained in:
2005-10-03 14:28:08 +00:00
parent 12dc565786
commit 9459f7c1be
2 changed files with 16 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ class KeyBlock:
attribute is read-only.
@cvar pos: The position of the keyframe (see L{getPos}). This
attribute is read-only.
@cvar name: The name of the KeyBlock. This attribute is read-only.
"""
def getData():
"""
@@ -92,3 +93,6 @@ class KeyBlock:
Ipo intersects the KeyBlock position is the actual time of the
keyframe.
"""
def getName():
"""Get the name of the keyframe represented by this KeyBlock."""