Blender Git Commit Log

Git Commits -> Revision 86aeb7d

Revision 86aeb7d by Bastien Montagne (master)
October 5, 2015, 10:02 (GMT)
Fix T46379: Bad behavior of bUnit_ToUnitAltName() with default units.

It would simply remove default units (in most case), cannot see any good reason for such behavior?
Might work in case default unit is the only one present, but breaks consistency (and it may not be
always obvious for user which unit it is). Comes from original patch from five years ago, rB7d8f0fce.

This will break keyboard-setting of values, e.g. '2m 33.4cm' would become '2 33.4cm',
totally useless and invalid entry!

Commit Details:

Full Hash: 86aeb7df961b994e87be57d85410de530b392f3e
Parent Commit: 3d5622a
Lines Changed: +1, -2

1 Modified Path:

/source/blender/blenkernel/intern/unit.c (+1, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021