Page MenuHome

patch.txt

patch.txt

Index: source/blender/python/api2_2x/Lamp.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Lamp.c,v
retrieving revision 1.43
diff -u -r1.43 Lamp.c
--- source/blender/python/api2_2x/Lamp.c 3 Jan 2006 16:27:33 -0000 1.43
+++ source/blender/python/api2_2x/Lamp.c 4 Jun 2006 10:42:29 -0000
@@ -782,6 +782,8 @@
PyInt_FromLong( EXPP_LAMP_MODE_ONLYSHADOW ) );
PyConstant_Insert( c, "NoDiffuse",
PyInt_FromLong( EXPP_LAMP_MODE_NODIFFUSE ) );
+ PyConstant_Insert( c, "NoSpecular",
+ PyInt_FromLong( EXPP_LAMP_MODE_NOSPECULAR ) );
PyConstant_Insert( c, "RayShadow",
PyInt_FromLong( EXPP_LAMP_MODE_SHAD_RAY ) );
}
Index: source/blender/python/api2_2x/doc/Lamp.py
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/doc/Lamp.py,v
retrieving revision 1.16
diff -u -r1.16 Lamp.py
--- source/blender/python/api2_2x/doc/Lamp.py 6 Jan 2006 01:53:26 -0000 1.16
+++ source/blender/python/api2_2x/doc/Lamp.py 4 Jun 2006 10:42:31 -0000
@@ -37,6 +37,7 @@
- 'Sphere'
- 'Square'
- 'NoDiffuse'
+ - 'NoSpecular'
- 'RayShadow'
Example::

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
37/38/11c9dee7f3860c18d608ff09accd

Event Timeline