Depsgraph: remove features incompatible with new system.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 28 Jan 2019 16:52:46 +0000 (17:52 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 31 Jan 2019 11:03:05 +0000 (12:03 +0100)
commit7400aa7e595063510ce9f29fa1b02ebd3f9296e2
treed0fc86bfc15cf187b3a69b720e9a715489494f8a
parent3e072da45bee1ac5368b83c84839d2ccdde6e514
Depsgraph: remove features incompatible with new system.

Some features are incompatible with multithreading and reliable evaluation
of dependencies. We are now removing them as part of a bigger cleanup to
fix bugs in keyframing and invalid animation evaluations.

* Dupliframes have been removed. This was a hack added before there were
  more powerful features like the array modifier.
* Slow parent has been removed, never worked in 2.8. It was always
  unreliable for use in production due to depending on whatever frame was
  previously evaluated, which was not always the previous frame.
* Particle instanced objects used to have their transform evaluated at
  the particle time. Now it always gets the current time transform.
* Boids can no longer do predictive avoidance of force field objects,
  but still for other particles.

Differential Revision: https://developer.blender.org/D4274
15 files changed:
release/scripts/startup/bl_ui/properties_object.py
source/blender/blenkernel/BKE_effect.h
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/intern/effect.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/object_dupli.c
source/blender/blenloader/intern/versioning_legacy.c
source/blender/depsgraph/intern/depsgraph_query_iter.cc
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_ops.c
source/blender/editors/object/object_relations.c
source/blender/editors/space_info/info_stats.c
source/blender/makesdna/DNA_object_types.h
source/blender/makesrna/intern/rna_object.c
source/blender/render/intern/source/pipeline.c