This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/editors/include
Bastien Montagne 702bc5ba26 Fix T50393: Flip names working just on one side when both are selected.
Just store bones that could not get renamed to desired flipped name on the
first try into a temp list, and try to rename them a second time.

This is rather simple solution, will induce 'over numbering' in case you
flip a bone to another unselected bone's name (since number will be
incremented in both rename attempts), but think this is acceptable minor
glitch, for a corner case situation that does not have any good
resolution anyway.

Also, set `strip_numbers` option of `BKE_deform_flip_side_name` to
false, otherwise chains of bones with same names would get their numbers
completely messed up after name flipping.

Based on work by @dfelinto in D2456 (https://developer.blender.org/D2456), thanks.
2017-01-16 20:36:22 +01:00
..
2016-06-09 05:17:43 +10:00
2014-07-21 12:02:05 +02:00
2016-08-06 10:58:13 +02:00
2015-11-18 12:22:00 +11:00
2015-11-18 12:22:00 +11:00
2014-08-11 11:02:26 +02:00
2013-03-31 03:28:46 +00:00
2016-11-24 13:43:29 +01:00