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:
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.c')
-rw-r--r--source/blender/python/api2_2x/Ipo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c
index f0dffe3f0e5..c81c6a2fef7 100644
--- a/source/blender/python/api2_2x/Ipo.c
+++ b/source/blender/python/api2_2x/Ipo.c
@@ -917,7 +917,7 @@ static PyObject *Ipo_addCurve( BPy_Ipo * self, PyObject * args )
icu->blocktype= ipo->blocktype;
icu->flag |= IPO_VISIBLE|IPO_AUTO_HORIZ;
icu->blocktype= ipo->blocktype;
- icu->adrcode= param;
+ icu->adrcode= (short)param;
BLI_addtail( &(ipo->curve), icu);
allspace( REMAKEIPO, 0 );