From 0a2b8b13089ef479d4a2d135b567410c8a5e6ab5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 18 Sep 2007 06:41:29 +0000 Subject: A user submitted a BVH file that took a long time to import (I didnt end up finishing since it was so slow) this is mainly because adding pose keyframes recalculates every handle so importing became increasingly slow. added a 'fast' argument to insertkey that python api's insertPoseKey can make use of since it alredy accepts a 'fast' option. The ~4450 frame, 31 bone BVH imports in ~108sec now Seperated editmode switch statement in space.c's event handling, if editmode is disabled, or the images is a render or composite, UV editing operations are ignored. In previous releases it has given an annoying warning if selecting or scaling is attempted when out of UV/Face mode. --- source/blender/python/api2_2x/Ipo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/Ipo.c') diff --git a/source/blender/python/api2_2x/Ipo.c b/source/blender/python/api2_2x/Ipo.c index e3bef1468dc..9b2fd082bee 100644 --- a/source/blender/python/api2_2x/Ipo.c +++ b/source/blender/python/api2_2x/Ipo.c @@ -1483,7 +1483,7 @@ static int Ipo_setIpoCurveByName( BPy_Ipo * self, PyObject * key, icu->flag |= IPO_VISIBLE|IPO_AUTO_HORIZ; set_icu_vars( icu ); BLI_addtail( &(ipo->curve), icu); - insert_vert_icu( icu, time, curval ); + insert_vert_icu( icu, time, curval, 0); allspace( REMAKEIPO, 0 ); EXPP_allqueue( REDRAWIPO, 0 ); -- cgit v1.2.3