BPython:
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user