diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-23 18:45:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-23 19:03:14 +0300 |
commit | d13a53e71d60fb537064f7ce6f95a7b02446dda9 (patch) | |
tree | b3b2498c4c164a358e39f7ec476952b81fedf001 /source/blender/blenkernel/BKE_animsys.h | |
parent | 1ec21ed41a48ba41410edee229be06be82ccec2d (diff) |
Return truth when animation fix changed animation
This can be used to inform higher level modules that animation
is changed and that dependency graph likely requires relations
update now.
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index df362ff8b04..43618109e91 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -136,8 +136,9 @@ void BKE_animdata_fix_paths_rename(struct ID *owner_id, struct AnimData *adt, st /* Fix all the paths for the entire database... */ void BKE_animdata_fix_paths_rename_all(struct ID *ref_id, const char *prefix, const char *oldName, const char *newName); -/* Fix the path after removing elements that are not ID (e.g., node) */ -void BKE_animdata_fix_paths_remove(struct ID *id, const char *path); +/* Fix the path after removing elements that are not ID (e.g., node). + * Returen truth if any animation data was affected. */ +bool BKE_animdata_fix_paths_remove(struct ID *id, const char *path); /* -------------------------------------- */ |