- Gert de Roost reported an inconsistency between nmesh.getMode and .setMode.  Now .setMode() optionally accepts an int value, as returned by getMode().
- Campbell Barton pointed that object.getData(name_only=True) was by mistake returning the obj name, not the obdata name, as it should.  Fixed now.
- small doc updates

Thanks both for the reports.
This commit is contained in:
2005-03-01 02:37:19 +00:00
parent 6c62b0d8b7
commit 52b84f0e69
4 changed files with 43 additions and 24 deletions

View File

@@ -280,13 +280,20 @@ def SetViewQuat (quat):
@param quat: four floats or a list of four floats.
"""
def GetViewOffset (ofs):
def GetViewOffset ():
"""
Get the current VIEW3D offset values.
@rtype: list of floats
@return: a list with three floats: [x,y,z].
"""
def SetViewOffset (ofs):
"""
Set the current VIEW3D offset values.
@type ofs: 3 floats or list of 3 floats
@param ofs: the new view offset values.
"""
def CameraView (camtov3d = 0):
"""
Set the current VIEW3D view to the active camera's view. If there's no