Blender Git Loki

Git Commits -> Revision 9f66062

Revision 9f66062 by Sybren A. Stüvel (master)
January 21, 2020, 09:44 (GMT)
Fix T72213: F-Curve animation does not update FreeStyle properties

FreeStyle line styles were not part of the dependency graph, and
blacklisted from the Copy-on-Write system. As a result, animated
FreeStyle properties would not be updated by the animation system,
resulting in T72213. There was an explicit call to run the animation
system on the original datablocks, but that was (for good reasons)
removed in D5394.

This commit adds the FreeStyleLineStyle datablocks to the dependency
graph and allows them to be handled by the CoW system. As a result

- the UI now updates properly when properties are animated, and
- animated property values are actually used when rendering.

This commit includes @Sergey's patch P1222, which unifies two bits of
code that did the same thing: check whether datablock type is covered by
copy-on-write.

Reviewed By: sergey, brecht

Differential Revision: https://developer.blender.org/D6609

Commit Details:

Full Hash: 9f66062da73e954f7c00acd9d5d5ead9ac1e8863
Parent Commit: 1982d11
Lines Changed: +70, -28

8 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+16, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+4, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+13, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+16, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+4, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+13, -4) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+2, -17) (Diff)
/source/blender/makesdna/DNA_ID.h (+2, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021