[Bf-python] lamp.h patch

Stephen Swaney sswaney at swbell.net
Sun Sep 7 06:39:51 CEST 2003


Greetings:

The setDist() func is missing from the method table for Lamp.
Here's a patch.
-- 
Stephen Swaney			
sswaney at swbell.net
-------------- next part --------------
Index: Lamp.h
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Lamp.h,v
retrieving revision 1.12
diff -u -r1.12 Lamp.h
--- Lamp.h	3 Sep 2003 04:13:08 -0000	1.12
+++ Lamp.h	7 Sep 2003 04:32:24 -0000
@@ -269,6 +269,8 @@
           "(float) - change light intensity value #2 for a Quad Lamp"},
   {"setCol", (PyCFunction)Lamp_setCol, METH_VARARGS,
           "(f,f,f) or ([f,f,f]) - change light's rgb color triplet"},
+  {"setDist", (PyCFunction)Lamp_setDist, METH_VARARGS,
+          "(f) - change Lamp clipping distance value"},
   {0}
 };
 


More information about the Bf-python mailing list