Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Alatalo <antont@kyperjokki.fi>2005-10-03 18:28:08 +0400
committerToni Alatalo <antont@kyperjokki.fi>2005-10-03 18:28:08 +0400
commit9459f7c1be6c75f5d46f6ede9cc55e82dfeba270 (patch)
tree636f38e3d9211423c6cf903b6f8c8656392b471e /source/blender/python/api2_2x/doc/Key.py
parent12dc56578609e45b676490200fffabf8f464655b (diff)
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).
Diffstat (limited to 'source/blender/python/api2_2x/doc/Key.py')
-rw-r--r--source/blender/python/api2_2x/doc/Key.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Key.py b/source/blender/python/api2_2x/doc/Key.py
index f091b32c29e..b2c23856dbb 100644
--- a/source/blender/python/api2_2x/doc/Key.py
+++ b/source/blender/python/api2_2x/doc/Key.py
@@ -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."""