Page MenuHome

Fix T71908: Animated properties are lost after frame-post handler
Needs ReviewPublic

Authored by Sergey Sharybin (sergey) on Fri, Nov 29, 4:00 PM.



The issue was caused by special handling of animation update after
manual edits in frame_post handler: to avid loss of manual edits
done on top of animated property. This was done as a separate pass
for non-animation update after frame_post did modifications.

This caused some other side-effect: non-modified animated property
was re-setting to the value which is used in the viewport.

Idea of this solution is simple: preserve values which came from
animation update through copy-on-write process. The actual process
of this is a bit involved: need to decode RNA path and do it twice
since f-curve might point to a sub-data which pointer will change.
Since this is only done for non-active depsgraph (aka depsgraph
used for render pipeline) this is probably fine since all this
extra overhead is just a fraction of overall render process.

Diff Detail

rB Blender
fix_T71908 (branched from master)
Build Status
Buildable 5851
Build 5851: arc lint + arc unit