Votes
0
Product:
iClone 7
Version:
7.41
Status:
Released in 7.7
Issue 5801
Adding morph key is becomes slower and slower
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..
OS: Windows 10
  •  1
  •  1016
Submitted byThe-any-Key
1
COMMENTS (1)
AllenLee (RL)
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