- Pontus Lidman contributed a new module: Blender.Key + access to key objects from NMesh, Lattice and Curve + docs (thanks and sorry for taking so long to check/commit the patch!)

- Allowing EVENT spacehandlers to call the file selector (scriptlinks in general are not allowed, but this special case should be able to). Requested by Paolo Colombo (thanks!)

- tiny doc update (Ken Hughes pointed an error in the space handlers example)

I didn't have time to update the Key module to follow the current bpython design, will do that later and also test it better than I did.
This commit is contained in:
2005-09-09 01:31:10 +00:00
parent 34ae14778c
commit 039a8c95f3
13 changed files with 704 additions and 34 deletions

View File

@@ -357,6 +357,7 @@ class NMesh:
@ivar mode: The mode flags for this mesh. See L{setMode}.
@ivar subDivLevels: The [display, rendering] subdivision levels in [1, 6].
@ivar maxSmoothAngle: The max angle for auto smoothing. See L{setMode}.
@cvar key: The L{Key.Key} object attached to this mesh, if any.
"""
def addEdge(v1, v2):
@@ -532,6 +533,13 @@ class NMesh:
and its weight is a float value.
"""
def getKey():
"""
Get the Key object representing the Vertex Keys (absolute or
relative) assigned to this mesh.
@rtype: L{Key.Key} object or None
"""
def insertKey(frame = None, type = 'relative'):
"""
Insert a mesh key at the given frame. Remember to L{update} the nmesh