diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-06-07 02:42:51 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-06-07 02:42:51 +0400 |
commit | a703837179d40fc5e34ae06619d4610a09f72097 (patch) | |
tree | c4e456784f79dd26393e2350155b75c398d0d706 /source/blender/python/api2_2x/Lamp.h | |
parent | d97e3e55273c6c381eead86f807514ef1d4a3941 (diff) |
Replace deprecated methods from old api:
PythonReturnErrorObject
PythonIncRef
Fix some compiler warnings about missing initializers
in method tables.
Diffstat (limited to 'source/blender/python/api2_2x/Lamp.h')
-rw-r--r-- | source/blender/python/api2_2x/Lamp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Lamp.h b/source/blender/python/api2_2x/Lamp.h index cc3fe9e76b8..f3e2f92eda0 100644 --- a/source/blender/python/api2_2x/Lamp.h +++ b/source/blender/python/api2_2x/Lamp.h @@ -271,7 +271,7 @@ static PyMethodDef BPy_Lamp_methods[] = { "(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"}, - {0} + {NULL, NULL, 0, NULL} }; /*****************************************************************************/ |