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/World.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/World.c')
-rw-r--r--source/blender/python/api2_2x/World.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/source/blender/python/api2_2x/World.c b/source/blender/python/api2_2x/World.c
index f065f3ebf58..c91f2b1a2d8 100644
--- a/source/blender/python/api2_2x/World.c
+++ b/source/blender/python/api2_2x/World.c
@@ -1113,37 +1113,37 @@ static PyObject *World_insertIpoKey( BPy_World * self, PyObject * args )
map = texchannel_to_adrcode(self->world->texact);
if(key == IPOKEY_ZENITH) {
- insertkey((ID *)self->world, WO_ZEN_R);
- insertkey((ID *)self->world, WO_ZEN_G);
- insertkey((ID *)self->world, WO_ZEN_B);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_ZEN_R);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_ZEN_G);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_ZEN_B);
}
if(key == IPOKEY_HORIZON) {
- insertkey((ID *)self->world, WO_HOR_R);
- insertkey((ID *)self->world, WO_HOR_G);
- insertkey((ID *)self->world, WO_HOR_B);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_HOR_R);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_HOR_G);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_HOR_B);
}
if(key == IPOKEY_MIST) {
- insertkey((ID *)self->world, WO_MISI);
- insertkey((ID *)self->world, WO_MISTDI);
- insertkey((ID *)self->world, WO_MISTSTA);
- insertkey((ID *)self->world, WO_MISTHI);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_MISI);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_MISTDI);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_MISTSTA);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_MISTHI);
}
if(key == IPOKEY_STARS) {
- insertkey((ID *)self->world, WO_STAR_R);
- insertkey((ID *)self->world, WO_STAR_G);
- insertkey((ID *)self->world, WO_STAR_B);
- insertkey((ID *)self->world, WO_STARDIST);
- insertkey((ID *)self->world, WO_STARSIZE);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_STAR_R);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_STAR_G);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_STAR_B);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_STARDIST);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, WO_STARSIZE);
}
if(key == IPOKEY_OFFSET) {
- insertkey((ID *)self->world, map+MAP_OFS_X);
- insertkey((ID *)self->world, map+MAP_OFS_Y);
- insertkey((ID *)self->world, map+MAP_OFS_Z);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, map+MAP_OFS_X);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, map+MAP_OFS_Y);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, map+MAP_OFS_Z);
}
if(key == IPOKEY_SIZE) {
- insertkey((ID *)self->world, map+MAP_SIZE_X);
- insertkey((ID *)self->world, map+MAP_SIZE_Y);
- insertkey((ID *)self->world, map+MAP_SIZE_Z);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, map+MAP_SIZE_X);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, map+MAP_SIZE_Y);
+ insertkey((ID *)self->world, ID_WO, NULL, NULL, map+MAP_SIZE_Z);
}
allspace(REMAKEIPO, 0);