SetPivot, patch from malefico, #7785 also added GetPivot

This commit is contained in:
2007-11-22 10:10:57 +00:00
parent 78ea4f3564
commit e64a44266c
2 changed files with 85 additions and 1 deletions

View File

@@ -210,6 +210,20 @@ def SetCursorPos (coords):
can be done with L{Redraw}.
"""
def GetPivot ():
"""
Get the pivot for the active 3D view.
@rtype: int
@return: constant - Window.PivotTypes
"""
def SetPivot (pivot):
"""
Set the pivot on the active 3D view.
@type pivot: int
@param pivot: constant - Window.PivotTypes
"""
def WaitCursor (bool):
"""
Set cursor to wait or back to normal mode.