Fix T59495, T59992, T59904, T59178, T60598: broken keyframed value editing.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 29 Jan 2019 10:59:17 +0000 (11:59 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 31 Jan 2019 11:04:57 +0000 (12:04 +0100)
commit83f8f44791374dd051728e44d89fbdeee15c60aa
treeaddcd6991adfcf578bec05b022875c98509deda9
parent7400aa7e595063510ce9f29fa1b02ebd3f9296e2
Fix T59495, T59992, T59904, T59178, T60598: broken keyframed value editing.

This removes a bunch of animation/driver evaluations and recalc flags that
should be redundant in the new depsgraph, and were incorrectly affecting
the evaluated scene in a permanent way.

Still two cases that could be removed if the depsgraph is improved, in
BKE_object_handle_data_update and BKE_cachefile_update_frame.

For physics subframe interpolation there are also still calls to
BKE_object_where_is_calc that should ideally be removed as well, though
they are not known to cause keyframing bugs.

Differential Revision: https://developer.blender.org/D4274
22 files changed:
source/blender/blenkernel/BKE_animsys.h
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/intern/action.c
source/blender/blenkernel/intern/anim_sys.c
source/blender/blenkernel/intern/cachefile.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/object_update.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/rigidbody.c
source/blender/blenkernel/intern/scene.c
source/blender/depsgraph/intern/builder/deg_builder.cc
source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
source/blender/draw/engines/eevee/eevee_motion_blur.c
source/blender/editors/animation/anim_deps.c
source/blender/editors/object/object_constraint.c
source/blender/editors/object/object_modifier.c
source/blender/editors/physics/physics_fluid.c
source/blender/editors/transform/transform_conversions.c
source/blender/makesdna/DNA_anim_types.h
source/blender/makesrna/intern/rna_fcurve.c
source/blender/makesrna/intern/rna_space.c