added a new function to the World module : GetActive(), which returns the world associated to the scene, or None if no such world exists

This commit is contained in:
2004-06-22 11:38:58 +00:00
parent ee07502a04
commit f89f32d420
3 changed files with 26 additions and 0 deletions

View File

@@ -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