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:
authorTon Roosendaal <ton@blender.org>2005-10-10 22:05:30 +0400
committerTon Roosendaal <ton@blender.org>2005-10-10 22:05:30 +0400
commit4bd9775936c1b5a1656713d8c6a679b711b93d93 (patch)
tree7a4d0c39ffef76f3f34f5dea7ad85a02587414a1 /source/blender/python/api2_2x/Lamp.c
parent9b8868532a9e0970f83eb68ef36144eaca9525a1 (diff)
Stupid me! Committed in wrong console with wrong dir... here's the rest of
all files for the Ipo/Action/NLA makeover...
Diffstat (limited to 'source/blender/python/api2_2x/Lamp.c')
-rw-r--r--source/blender/python/api2_2x/Lamp.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/python/api2_2x/Lamp.c b/source/blender/python/api2_2x/Lamp.c
index 89d0eef891c..f3e6214e966 100644
--- a/source/blender/python/api2_2x/Lamp.c
+++ b/source/blender/python/api2_2x/Lamp.c
@@ -1395,25 +1395,25 @@ static PyObject *Lamp_insertIpoKey( BPy_Lamp * self, PyObject * args )
map = texchannel_to_adrcode(self->lamp->texact);
if (key == IPOKEY_RGB ) {
- insertkey((ID *)self->lamp,LA_COL_R);
- insertkey((ID *)self->lamp,LA_COL_G);
- insertkey((ID *)self->lamp,LA_COL_B);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL, LA_COL_R);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL,LA_COL_G);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL,LA_COL_B);
}
if (key == IPOKEY_ENERGY ) {
- insertkey((ID *)self->lamp,LA_ENERGY);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL,LA_ENERGY);
}
if (key == IPOKEY_SPOTSIZE ) {
- insertkey((ID *)self->lamp,LA_SPOTSI);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL,LA_SPOTSI);
}
if (key == IPOKEY_OFFSET ) {
- insertkey((ID *)self->lamp, map+MAP_OFS_X);
- insertkey((ID *)self->lamp, map+MAP_OFS_Y);
- insertkey((ID *)self->lamp, map+MAP_OFS_Z);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL, map+MAP_OFS_X);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL, map+MAP_OFS_Y);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL, map+MAP_OFS_Z);
}
if (key == IPOKEY_SIZE ) {
- insertkey((ID *)self->lamp, map+MAP_SIZE_X);
- insertkey((ID *)self->lamp, map+MAP_SIZE_Y);
- insertkey((ID *)self->lamp, map+MAP_SIZE_Z);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL, map+MAP_SIZE_X);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL, map+MAP_SIZE_Y);
+ insertkey((ID *)self->lamp, ID_LA, NULL, NULL, map+MAP_SIZE_Z);
}
allspace(REMAKEIPO, 0);