1
$\begingroup$

I've found the scene function frame_set to be very slow. Is there any functions to set the frame only on an armature/object ?

This is for an exporter where I advance the animation frame by frame.

$\endgroup$
1
$\begingroup$

user preferences > Editing > Only insert needed enabled

enter image description here

|improve this answer|||||
$\endgroup$
  • $\begingroup$ Actually, I've already simplified all the F-curves with the Simplify addon. I'm exporting the animation and I advance it frame by frame, so I don't think it matters how many keyframes I have. $\endgroup$ – Tenpints Jan 18 '15 at 8:51
0
$\begingroup$

frame_set is a python function used to change the current frame, when you change the frame every object in the scene needs to be updated to reflect their location at that point in the animation. For a large scene this can take some time.

If you only want to see the armature movement you can hide all un-selected objects ShiftH and use AltH to show them again, you can also go into local view, press Numpad / to toggle local view. By not having most objects visible can speed things up.

|improve this answer|||||
$\endgroup$
  • $\begingroup$ Yes this was what I thought too, but it made no difference. In the export script I've hidden all the object (meshes, camera ...) except for the armature (displayed as sticks) and it made no difference. $\endgroup$ – Tenpints Jan 18 '15 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.