diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-01-08 00:25:33 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-01-09 14:16:58 +0300 |
commit | 2f16098d208058dce7701d6e49ed9052445553f5 (patch) | |
tree | 781ff394a933cd75dd65cba5505eff466c798b4b /source/blender/blenlib/BLI_string.h | |
parent | 95847f6ac7ce074501d0f7f2b874ef4036601dc4 (diff) |
Gooseberry animation request: Paste flipped pose in action
and graph editor.
This was a tricky commit that was not so straightforward to make work.
The information for bones is not easy to come by in the animation curves,
however we do have some string manipulation tricks to make it happen.
Testing in gooseberry worked for the rigs there, commiting to master now
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index d6e7f3dd86d..4d2007f9fe0 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -85,6 +85,9 @@ int BLI_str_rstrip_float_zero(char *str, const char pad) ATTR_NONNULL(); int BLI_str_index_in_array_n(const char *__restrict str, const char **__restrict str_array, const int str_array_len) ATTR_NONNULL(); int BLI_str_index_in_array(const char *__restrict str, const char **__restrict str_array) ATTR_NONNULL(); +bool BLI_str_ends_with(const char *str,const char *end) ATTR_NONNULL(); +bool BLI_strn_ends_with(const char *str,const char *end, int length) ATTR_NONNULL(); + size_t BLI_str_partition(const char *str, const char delim[], char **sep, char **suf) ATTR_NONNULL(); size_t BLI_str_rpartition(const char *str, const char delim[], char **sep, char **suf) ATTR_NONNULL(); size_t BLI_str_partition_ex(const char *str, const char delim[], char **sep, char **suf, const bool from_right) ATTR_NONNULL(); |