diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-27 17:15:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-28 18:28:24 +0300 |
commit | 8d6732d1f7b801fc1353e6f7f83e079ae7d14c91 (patch) | |
tree | 3e8d83836033890dfda03e95104747bc6b52e95f /source/blender/blenkernel/BKE_animsys.h | |
parent | 9eaa577b9b3c69c444855460edc7d6f5de7b59b7 (diff) |
Depsgraph: Keep objects which has animated visibility
This allows dependency graph to evaluate drivers of those objects
and put them to a correct state. It will increase memory usage
since now we can no longer save it by skipping copy-on-write for
such objects. It will also currently make things slower, because
we do not have granular enough visibility update of components in
the dependency graph. Can do it later when the rest of the changes
are finished.
This commit does not update restriction flags on the base, since
that is somewhat tricky to do currently: need to somehow see whether
object is disabled due to flags on collection or due to own flags.
Differential Revision: https://developer.blender.org/D4419
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index ddc158987c2..e9eea162ceb 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -162,6 +162,9 @@ void BKE_animdata_main_cb(struct Main *bmain, ID_AnimData_Edit_Callback func, vo /* Loop over all datablocks applying callback to all its F-Curves */ void BKE_fcurves_main_cb(struct Main *bmain, ID_FCurve_Edit_Callback func, void *user_data); +/* Look over all f-curves of a given ID. */ +void BKE_fcurves_id_cb(struct ID *id, ID_FCurve_Edit_Callback func, void *user_data); + /* ************************************* */ // TODO: overrides, remapping, and path-finding api's |