A user submitted a BVH file that took a long time to import (I didnt end up finishing...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 18 Sep 2007 06:41:29 +0000 (06:41 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 18 Sep 2007 06:41:29 +0000 (06:41 +0000)
commit0a2b8b13089ef479d4a2d135b567410c8a5e6ab5
tree3377b2bd39b6e7c2e3ce302a3bb01d7b2ddfbe25
parentd86a03113d24904dd4b6227f16431eb6735aa5d7
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.
20 files changed:
source/blender/blenkernel/bad_level_call_stubs/stubs.c
source/blender/include/BSE_editipo.h
source/blender/python/api2_2x/Camera.c
source/blender/python/api2_2x/Constraint.c
source/blender/python/api2_2x/Ipo.c
source/blender/python/api2_2x/Ipocurve.c
source/blender/python/api2_2x/Lamp.c
source/blender/python/api2_2x/Material.c
source/blender/python/api2_2x/Object.c
source/blender/python/api2_2x/Pose.c
source/blender/python/api2_2x/World.c
source/blender/src/buttons_object.c
source/blender/src/drawaction.c
source/blender/src/editaction.c
source/blender/src/editipo.c
source/blender/src/editkey.c
source/blender/src/editview.c
source/blender/src/poseobject.c
source/blender/src/space.c
source/blender/src/transform_conversions.c