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/blenkernel/bad_level_call_stubs/stubs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index dc65750f7ba..2524a804e53 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -59,7 +59,7 @@ struct bPythonConstraint; struct bConstraintOb; char *getIpoCurveName( struct IpoCurve * icu ); -void insert_vert_icu(struct IpoCurve *icu, float x, float y); +void insert_vert_icu(struct IpoCurve *icu, float x, float y, short fast); struct IpoCurve *verify_ipocurve(struct ID *id, short a, char *b, char *d, int e); void elbeemDebugOut(char *msg); void fluidsimSettingsFree(struct FluidsimSettings* sb); @@ -83,7 +83,7 @@ char *getIpoCurveName( struct IpoCurve * icu ) return 0; } -void insert_vert_icu(struct IpoCurve *icu, float x, float y) +void insert_vert_icu(struct IpoCurve *icu, float x, float y, short fast) { } -- cgit v1.2.3