Blender Git Loki

Git Commits -> Revision 1ad1ecf

Revision 1ad1ecf by Ankur Deria (master)
February 4, 2021, 00:48 (GMT)
Fix T79822: Custom preset casing not preserved

When adding a new preset the name would be converted to lower case and
then displayed in the interface in title case. This was confusing
because the name didn't reflect what was typed, and there are many cases
when the name shouldn't be forced into title case (like 8K UHDTV for
example).

This commit leaves the custom preset names in the original casing, and
removes the conversion of filenames to title case for preset lists.

Differential Revision: https://developer.blender.org/D10224

Commit Details:

Full Hash: 1ad1ecf1c93d375aae623eff6bab8cbb7d33a63a
Parent Commit: 01d49d1
Committed By: Nathan Craddock
Lines Changed: +10, -8

4 Modified Paths:

/release/scripts/modules/bpy/path.py (+6, -5) (Diff)
/release/scripts/modules/bpy/utils/__init__.py (+1, -1) (Diff)
/release/scripts/modules/bpy_types.py (+1, -0) (Diff)
/release/scripts/startup/bl_operators/presets.py (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021