diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-12-27 23:16:16 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-12-27 23:16:16 +0300 |
commit | c09ed363bf6c6411654dc3715628d70cb5205199 (patch) | |
tree | 971539c9fd1295da2c5e998accb11fd4d1d5bcf8 /source/blender/blenloader | |
parent | 3e35e32e9de35f5e5dc7a6b4a6441d80aa44b350 (diff) |
Minor UI incosistency reported by erickblender on irc. Twist brush is
renamed to Rotate to match the tool name.
It is not actually compulsory that the two must match since users can
change the name of a brush arbitrarily but at least try to have
consistent naming in our defaults.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index a9c0408f291..cf0e4438963 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -229,6 +229,13 @@ void BLO_update_defaults_startup_blend(Main *bmain) if (br) { br->ob_mode &= ~OB_MODE_TEXTURE_PAINT; } + + /* rename twist brush to rotate brush to match rotate tool */ + br = (Brush *)BKE_libblock_find_name_ex(bmain, ID_BR, "Twist"); + if (br) + { + rename_id(&br->id, "Rotate"); + } } } |