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:
Diffstat (limited to 'source/blender/python/api2_2x/doc/Lattice.py')
-rw-r--r--source/blender/python/api2_2x/doc/Lattice.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Lattice.py b/source/blender/python/api2_2x/doc/Lattice.py
index 3723e290491..97cee2faaa9 100644
--- a/source/blender/python/api2_2x/doc/Lattice.py
+++ b/source/blender/python/api2_2x/doc/Lattice.py
@@ -76,6 +76,7 @@ class Lattice:
@ivar depthType: The z dimension key type.
@ivar mode: The current mode of the Lattice.
@ivar latSize: The number of points in this Lattice.
+ @cvar key: The L{Key.Key} object associated with this Lattice.
"""
def getName():
@@ -189,6 +190,13 @@ class Lattice:
much probably an undesired effect.
"""
+ def getKey():
+ """
+ Returns the L{Key.Key} object associated with this Lattice.
+ @rtype: L{Key.Key}
+ @return: A key object representing the keyframes of the lattice or None.
+ """
+
def insertKey(frame):
"""
Inserts the current state of the Lattice as a new absolute keyframe