From 58fb16aa13e024cb5b4e37a2b0901d484d8e8096 Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Tue, 27 Jul 2004 20:15:57 +0000 Subject: [PATCH] Add missing funcs to Lamp method table: getIpo setIpo clearIpo Methods were implemented but not in instance method table. --- source/blender/python/api2_2x/Lamp.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/blender/python/api2_2x/Lamp.c b/source/blender/python/api2_2x/Lamp.c index 1fd5164626b..7f48ce53960 100644 --- a/source/blender/python/api2_2x/Lamp.c +++ b/source/blender/python/api2_2x/Lamp.c @@ -1,5 +1,5 @@ /* - * + * $Id$ * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -283,6 +283,12 @@ static PyMethodDef BPy_Lamp_methods[] = { "(evt) string: FrameChanged or Redraw."}, {"clearScriptLinks", (PyCFunction)Lamp_clearScriptLinks, METH_NOARGS, "() - Delete all scriptlinks from this lamp."}, + {"getIpo", (PyCFunction)Lamp_getIpo, METH_NOARGS, + "() - get IPO for this lamp"}, + {"clearIpo", (PyCFunction)Lamp_clearIpo, METH_NOARGS, + "() - unlink the IPO for this lamp"}, + {"setIpo", (PyCFunction)Lamp_setIpo, METH_VARARGS, + "( lamp-ipo ) - link an IPO to this lamp"}, {NULL, NULL, 0, NULL} };