Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Guignot <guignot@wanadoo.fr>2004-06-22 15:38:58 +0400
committerJacques Guignot <guignot@wanadoo.fr>2004-06-22 15:38:58 +0400
commitf89f32d420c78a6204a6b7f5efa269f13e35e8ea (patch)
treec1c36ea93e57aed22aeb537f67d762cb737f8ab1 /source/blender/python/api2_2x/doc
parentee07502a043fe1ebf07245f1b97181fe56b5096c (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.py6
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