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.
This commit is contained in:
@@ -431,9 +431,9 @@ static PyObject *Constraint_insertKey( BPy_Constraint * self, PyObject * value )
|
||||
"cannot get a curve from this IPO, may be using libdata" );
|
||||
|
||||
if( ob->action )
|
||||
insert_vert_icu( icu, get_action_frame(ob, cfra), con->enforce);
|
||||
insert_vert_icu( icu, get_action_frame(ob, cfra), con->enforce, 0);
|
||||
else
|
||||
insert_vert_icu( icu, cfra, con->enforce);
|
||||
insert_vert_icu( icu, cfra, con->enforce, 0);
|
||||
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user