diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-29 15:11:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-30 12:32:02 +0300 |
commit | 6bbb82cf79e03cf96947933da292d2666bf81dd6 (patch) | |
tree | fb9c884d2a9830590e9d39d35b334773e342770d /source/blender/depsgraph/intern/builder/deg_builder.h | |
parent | c8f3377d03531ec52fc8dd6fa5802679166997b8 (diff) |
Depsgraph: Use new animation cache for visibility check
Should be no functional changes, just switching code to use more
generic checks now.
One thing which goes a bit deeper than that is check for whether
base is a part of dependency graph. This is now done by explicitly
tagging corresponding ID node (of an object) rather than doing
animation check again.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder.h b/source/blender/depsgraph/intern/builder/deg_builder.h index 88df0e870f3..2f5bc42aeae 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder.h +++ b/source/blender/depsgraph/intern/builder/deg_builder.h @@ -33,7 +33,7 @@ class DepsgraphBuilderCache; class DepsgraphBuilder { public: - bool need_pull_base_into_graph(struct Base *base); + bool need_pull_base_into_graph(Base *base); protected: /* NOTE: The builder does NOT take ownership over any of those resources. */ @@ -45,7 +45,7 @@ class DepsgraphBuilder { DepsgraphBuilderCache *cache_; }; -bool deg_check_base_available_for_build(const Depsgraph *graph, Base *base); +bool deg_check_base_in_depsgraph(const Depsgraph *graph, Base *base); void deg_graph_build_finalize(struct Main *bmain, struct Depsgraph *graph); } // namespace DEG |