Page MenuHome

animating object on layer, little offset when scrubbing using arrow keys
Closed, ArchivedPublicTO DO

Description

Please see the attached blend file.

I animated an object's layer relation on frame 0-19 is on layer 11, then 20 ->end on layer 1
layer 11 is visible, so object "appears" at frame 20.

if i use right arrow keys to move time from 15 to 25 ... the cube disappears on frame 19 and appears as expected on frame 20 ...
if now you do reverse...scrub back in time (still using arrow key) from 25 to 15 ...the cube disappears on frame 18, instead of 19!

if you scrub using the mouse, this does not happen.

mac 10.6.7 svn 36343, 3 button mouse lol

Event Timeline

sorry subject got cut ...should be :
animating object on layer, little offset when scrubbing using arrow keys

This is caused by layer set function rna_Object_layer_set() disallowing all layers to be cleared at once.
since the fcurve layer indices's are set in a loop. at one point it tries to set them all to clear.

One solution to this is to have fcurves calculate arrays and assign all at once.

Considering this a todo item, was already on the list:
http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Animation#Animation

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Unknown Status.Jan 30 2012, 2:53 PM