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-07-28 00:15:57 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-07-28 00:15:57 +0400
commit58fb16aa13e024cb5b4e37a2b0901d484d8e8096 (patch)
tree3522b287ea114ce1024209b86004cc146cbf4e34 /source/blender/python/api2_2x/Lamp.c
parent43c1dcdfe66ffea7fe29868d2e28e0dca06f216e (diff)
Add missing funcs to Lamp method table:
getIpo setIpo clearIpo Methods were implemented but not in instance method table.
Diffstat (limited to 'source/blender/python/api2_2x/Lamp.c')
-rw-r--r--source/blender/python/api2_2x/Lamp.c8
1 files changed, 7 insertions, 1 deletions
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}
};