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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-09-18 04:54:43 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-09-18 04:54:43 +0400
commit775f006bf1202abb5b9f69ecc3ab4cd1dd28a508 (patch)
treefe3afcf8798f65fc212c52bb8481ad3a73d43f88 /source/blender/python/api2_2x/Lamp.h
parentda773eee1811900c6250629baa9b923c11591930 (diff)
Exppython:
- Window: implemented .SetCursorPos, .GetViewMatrix, .GetViewVector - Lamp: .setDist was not in the methods table: Fix by new bpython developer Stephen Swaney - Scene: .frameSettings was crashing Blender (pointed by jms) - Added site dirs to sys.path (patch by Stephen Swaney) - NMesh: small internal change (added pointer to parent object) - Object: function NMesh_FromPyObject has a new arg: pointer to obj - Docs: added docs for implemented functions, plus some more info
Diffstat (limited to 'source/blender/python/api2_2x/Lamp.h')
-rw-r--r--source/blender/python/api2_2x/Lamp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Lamp.h b/source/blender/python/api2_2x/Lamp.h
index 71f146247c7..cc3fe9e76b8 100644
--- a/source/blender/python/api2_2x/Lamp.h
+++ b/source/blender/python/api2_2x/Lamp.h
@@ -249,6 +249,8 @@ static PyMethodDef BPy_Lamp_methods[] = {
"(int) - change Lamp halo step value"},
{"setEnergy", (PyCFunction)Lamp_setEnergy, METH_VARARGS,
"(float) - change Lamp energy value"},
+ {"setDist", (PyCFunction)Lamp_setDist, METH_VARARGS,
+ "(float) - change Lamp clipping distance value"},
{"setSpotSize", (PyCFunction)Lamp_setSpotSize, METH_VARARGS,
"(float) - change Lamp spot size value"},
{"setSpotBlend", (PyCFunction)Lamp_setSpotBlend, METH_VARARGS,