When you get an objects morph component with object.GetMorphComponent() Then you start add keys with AddKey all works fine. But when you have added around 50 keys to the timeline with around 18 different morps per frame. The call to AddKey becomes slower and slower. My guess is that AddKey check the keys before somehow and will make: more keys = slower add. Because if you collect the morph keys and then export them as a motion plus clip and remove the morph keys and try add more. It is fast again, until you added around 50 keys again..
Hi The any Key,
Could you please try this:
def AddKey (self, strMeshName, strMorphName, kTime, fWeight, bSendEvent, bPauseAP)
Set both bSendEvent and bPauseAP to False.
Allen Lee
1
You are going to edit a submitted issue. This issue will be changed to private draft mode until you click submit again. Are you sure?