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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user