Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-01-16 22:34:13 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-01-16 22:36:23 +0300
commite0303d02974c914d4633e37d789e33b21689b5eb (patch)
tree225cb633ef66eb2346f63d27612eff2fbc75e96a /source/blender/editors/armature/armature_naming.c
parent7ce833af5b08ca47c201aab33ab5d6b8fde69486 (diff)
Cleanup/refactor: move BKE_deform_flip_side_name & co to BLI_string_utils
Functions like that do not have anything to do in BKE really, even less when actually more used for bones than vgroups!
Diffstat (limited to 'source/blender/editors/armature/armature_naming.c')
-rw-r--r--source/blender/editors/armature/armature_naming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_naming.c b/source/blender/editors/armature/armature_naming.c
index 8d949fb8c3d..fa192ed6f36 100644
--- a/source/blender/editors/armature/armature_naming.c
+++ b/source/blender/editors/armature/armature_naming.c
@@ -328,7 +328,7 @@ void ED_armature_bones_flip_names(bArmature *arm, ListBase *bones_names)
/* Do not strip numbers, otherwise we'll end up with completely mismatched names in cases like
* Bone.R, Bone.R.001, Bone.R.002, etc. */
- BKE_deform_flip_side_name(name_flip, name, false, sizeof(name_flip));
+ BLI_string_flip_side_name(name_flip, name, false, sizeof(name_flip));
ED_armature_bone_rename(arm, name, name_flip);