diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-17 03:32:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-17 03:34:11 +0300 |
commit | b87997f59b41471f7f79d9071846b2145589d9b2 (patch) | |
tree | 78b924d46309be41d04494c6b3c18e28ec560a5d /source/blender/editors/armature/armature_naming.c | |
parent | ab430cfdfe1c8214f1096d23e102cba706b59adc (diff) |
Cleanup: rename 'centre' to 'center' in View3D
Diffstat (limited to 'source/blender/editors/armature/armature_naming.c')
-rw-r--r-- | source/blender/editors/armature/armature_naming.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/armature/armature_naming.c b/source/blender/editors/armature/armature_naming.c index 1f421d23b27..bad4edbabaf 100644 --- a/source/blender/editors/armature/armature_naming.c +++ b/source/blender/editors/armature/armature_naming.c @@ -359,9 +359,9 @@ void ED_armature_bone_rename(Main *bmain, for (sl = sa->spacedata.first; sl; sl = sl->next) { if (sl->spacetype == SPACE_VIEW3D) { View3D *v3d = (View3D *)sl; - if (v3d->ob_centre && v3d->ob_centre->data == arm) { - if (STREQ(v3d->ob_centre_bone, oldname)) { - BLI_strncpy(v3d->ob_centre_bone, newname, MAXBONENAME); + if (v3d->ob_center && v3d->ob_center->data == arm) { + if (STREQ(v3d->ob_center_bone, oldname)) { + BLI_strncpy(v3d->ob_center_bone, newname, MAXBONENAME); } } } |