Blender Git Commit Log

Git Commits -> Revision a51ff52

Revision a51ff52 by Brecht Van Lommel (master)
January 28, 2021, 12:16 (GMT)
Fix alpha transparency slider range being influenced by RGB values

For buttons that edit array properties, the soft min/max and slider ranges are
based on the range of all values in the array. However for alpha this does not
make much sense, the only reasonable range is 0..1 even when there are RGB
values larger than 1. So treat alpha as an individual property.

Commit Details:

Full Hash: a51ff5208b47254122eefb4ed9cc832fb4885012
Parent Commit: 3726aa6
Lines Changed: +5, -3

1 Modified Path:

/source/blender/editors/interface/interface.c (+5, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021