diff options
author | Dalai Felinto <dalai@blender.org> | 2020-10-15 13:02:56 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-10-15 20:59:58 +0300 |
commit | c866075dfbd90888705ad5cd68b25d8605febb4a (patch) | |
tree | c2cf75c07a285f7533b7a84aa174daeecebe11c3 /source/blender/blenkernel/BKE_animsys.h | |
parent | ca55a1b564a6ff32784d7c611b4728be400637e8 (diff) |
Fix T81580: No doversion for Emission Strength
The new parameter made so that previously keyed Alpha values were lost
and instead the new "Emission Strength" was keyed.
Issue introduced with the original commit of Emission Strength: b248ec97769f
Note: Files created since the issue (September 17) that keyframed the
Emission Strength will have to fix their files manually.
Differential Revision: https://developer.blender.org/D9221
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index e9819e6ea87..2007d150c6a 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -152,6 +152,16 @@ void BKE_animdata_fix_paths_rename_all(struct ID *ref_id, const char *oldName, const char *newName); +/* Fix all the paths for the entire bmain with extra parameters. */ +void BKE_animdata_fix_paths_rename_all_ex(struct Main *bmain, + struct ID *ref_id, + const char *prefix, + const char *oldName, + const char *newName, + const int oldSubscript, + const int newSubscript, + const bool verify_paths); + /* Fix the path after removing elements that are not ID (e.g., node). * Return true if any animation data was affected. */ bool BKE_animdata_fix_paths_remove(struct ID *id, const char *path); |