diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-11-22 13:10:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-11-22 13:10:57 +0300 |
commit | e64a44266ccba44a7e0482eb059e82d90920b3db (patch) | |
tree | eeba2f6ce57bd112018cc87eafcfa166aa6f17bd /source/blender/python/api2_2x/doc | |
parent | 78ea4f35646927a65c9a703d09f6e766bdd3b4ca (diff) |
SetPivot, patch from malefico, #7785 also added GetPivot
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r-- | source/blender/python/api2_2x/doc/Window.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Window.py b/source/blender/python/api2_2x/doc/Window.py index b5145d34ca2..7fceeb757de 100644 --- a/source/blender/python/api2_2x/doc/Window.py +++ b/source/blender/python/api2_2x/doc/Window.py @@ -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. |