diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-28 19:52:46 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-31 14:03:05 +0300 |
commit | 7400aa7e595063510ce9f29fa1b02ebd3f9296e2 (patch) | |
tree | d0fc86bfc15cf187b3a69b720e9a715489494f8a /source/blender/depsgraph | |
parent | 3e072da45bee1ac5368b83c84839d2ccdde6e514 (diff) |
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
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_query_iter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query_iter.cc b/source/blender/depsgraph/intern/depsgraph_query_iter.cc index 252cfa8be97..e938572b453 100644 --- a/source/blender/depsgraph/intern/depsgraph_query_iter.cc +++ b/source/blender/depsgraph/intern/depsgraph_query_iter.cc @@ -115,7 +115,7 @@ static bool deg_object_hide_original(eEvaluationMode eval_mode, Object *ob, Dupl * visible otherwise. The better solution eventually would be for objects * to specify which object they instance, instead of through parenting. */ if (eval_mode == DAG_EVAL_RENDER || dob) { - const int hide_original_types = OB_DUPLIFRAMES | OB_DUPLIVERTS | OB_DUPLIFACES; + const int hide_original_types = OB_DUPLIVERTS | OB_DUPLIFACES; if (!dob || !(dob->type & hide_original_types)) { if (ob->parent && (ob->parent->transflag & hide_original_types)) { |