diff options
author | Julian Eisel <julian@blender.org> | 2020-03-17 22:20:22 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-17 22:20:22 +0300 |
commit | a640587e25e43be8007fa0090a59fd9bb6d51e39 (patch) | |
tree | ef780ec436232535a9e36ac233de1792ee8ba9e4 /source/blender/editors/armature/armature_naming.c | |
parent | 99eb95337f74f1a303c774902ea29f7d378bac1b (diff) | |
parent | 892637f60afbbb787334caa26f5342baf1d4a7d7 (diff) |
Merge branch 'temp-openxr-blenderside' into soc-2019-openxrsoc-2019-openxr
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); } } } |