Armature flip names
Closed, DuplicatePublic

Description

System Information
Ubuntu 16.04 LTS
Geforce GTX 670

Blender Version
Broken: 2.79
Worked: 2.78c

Short description of error
Armature flip names function fail to cleanup the names. It keep the duplication number at the end.

Exact steps for others to reproduce the error
create an armature. create bones on the left side and use Autoname Left/right from Armature menu.
Select the side bones on front view viewport then duplicate, scale X -1 from the centred 3d cursor.
Use Flip names from Armature menu.
You get names like Bone.001.R.001 instead of Bone.001.R

Details

Type
Bug

This is caused by rB702bc5ba26d5ff2a4da9e92cabb2fa34ed3f2312. Anyway instead of duplicating the bones you can use Armature - Symmetrize instead, that way you get the right names (and don't need to duplicate and scale the bones).