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:
authorStephen Swaney <sswaney@centurytel.net>2004-10-09 09:41:03 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-10-09 09:41:03 +0400
commit073120c2b11d28f024686a16dd71cc7f77b708ad (patch)
tree5cbb783c0562cb40bb1a555c2b22c09e8c6e4769 /source/blender/python/api2_2x/doc/Lamp.py
parentd0ca4c9efa624071481d8e694744c272488e0091 (diff)
bugfix: #1607 Missing entry in Lamp Types
added Lamp types 'Area' and 'Photon'. updated docs.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Lamp.py')
-rw-r--r--source/blender/python/api2_2x/doc/Lamp.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/doc/Lamp.py b/source/blender/python/api2_2x/doc/Lamp.py
index 76c2d747cfb..286459d4107 100644
--- a/source/blender/python/api2_2x/doc/Lamp.py
+++ b/source/blender/python/api2_2x/doc/Lamp.py
@@ -23,7 +23,7 @@ def New (type = 'Lamp', name = 'LampData'):
"""
Create a new Lamp Data object.
@type type: string
- @param type: The Lamp type: 'Lamp', 'Sun', 'Spot' or 'Hemi'.
+ @param type: The Lamp type: 'Lamp', 'Sun', 'Spot', 'Hemi', 'Area', or 'Photon'.
@type name: string
@param name: The Lamp Data name.
@rtype: Blender Lamp
@@ -53,6 +53,8 @@ class Lamp:
- 'Sun' : 1
- 'Spot': 2
- 'Hemi': 3
+ - 'Area': 4
+ - 'Photon': 5
@cvar mode: The mode flags: B{or'ed value} of the flags in the Modes dict.
@cvar Modes: The Modes dictionary.
- 'Shadows'
@@ -110,7 +112,7 @@ class Lamp:
"""
Set this Lamp's type.
@type type: string
- @param type: The Lamp type: 'Lamp', 'Sun', 'Spot' or 'Hemi'.
+ @param type: The Lamp type: 'Lamp', 'Sun', 'Spot', 'Hemi', 'Area', or 'Photon'
"""
def getMode():