Skip to content
Snippets Groups Projects
Commit 58fb16aa authored by Stephen Swaney's avatar Stephen Swaney
Browse files

Add missing funcs to Lamp method table:

  getIpo
  setIpo
  clearIpo
Methods were implemented but not in instance method table.
parent 43c1dcdf
No related branches found
No related tags found
No related merge requests found
/*
*
* $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}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment