diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2004-06-22 15:38:58 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2004-06-22 15:38:58 +0400 |
commit | f89f32d420c78a6204a6b7f5efa269f13e35e8ea (patch) | |
tree | c1c36ea93e57aed22aeb537f67d762cb737f8ab1 /source/blender/python/api2_2x/doc | |
parent | ee07502a043fe1ebf07245f1b97181fe56b5096c (diff) |
added a new function to the World module : GetActive(), which returns the world associated to the scene, or None if no such world exists
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r-- | source/blender/python/api2_2x/doc/World.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/World.py b/source/blender/python/api2_2x/doc/World.py index b5ce866c9b0..625f0432212 100644 --- a/source/blender/python/api2_2x/doc/World.py +++ b/source/blender/python/api2_2x/doc/World.py @@ -36,6 +36,12 @@ def Get (name): """ +def GetActive (): + """ + Get the active world of the scene. + @rtype: Blender World or None + """ + class World: """ The World object |