diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-08-06 23:25:06 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-08-06 23:25:06 +0400 |
commit | 577616b3589132bc35b1d3fdcbb556289f66463a (patch) | |
tree | a53ea6b716127d27d2a28e73bf51fa7cf63f5bcf /source/blender/python/api2_2x/doc/Scene.py | |
parent | 2db07e8f2798e4a6ce56537f42d1064956e146e9 (diff) |
Exppython:
- Update method scene.update():
To accept an optional parameter for a "full" update (using set_scene_bg()).
- Updated the docs accordingly.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Scene.py')
-rw-r--r-- | source/blender/python/api2_2x/doc/Scene.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Scene.py b/source/blender/python/api2_2x/doc/Scene.py index d17e593ad47..425cafe85b6 100644 --- a/source/blender/python/api2_2x/doc/Scene.py +++ b/source/blender/python/api2_2x/doc/Scene.py @@ -155,6 +155,17 @@ class Scene: Make this Scene the currently active one in Blender. """ + def update(full = 0): + """ + Update this Scene in Blender. + @type full: int + @param full: A bool to control the level of updating: + - 0: sort the base list of objects. + - 1: sort and also regroup, do ipos, ikas, keys, script links, etc. + @warn: When in doubt, try with I{full = 0} first, since it is faster. + The "full" update is a recent addition to this method. + """ + def link(object): """ Link an Object to this Scene. |