Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-07-17Fix T67099: entering color picker hex value #FF results in 1.000001Brecht Van Lommel
2019-06-06Fix T60441, T60619: incorrect values for color values > 1.0Bruno Boaventura Scholl
Modulo makes no sense here at all, is from an old bugfix to prevent a crash that is no longer an issue. Differential Revision: https://developer.blender.org/D4727
2019-04-17Cleanup: comment length in interfaceCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-25Cleanup: use braces for interface codeCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-10UI: Color Picker, make HSV default.Pablo Vazquez
Most artists agree that RGB by default is not as flexible as HSV. It's just the first time it opens anyway, since it will remember whatever was set last like it always does.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-18Cleanup: use enum for color picker typesCampbell Barton
2019-01-18Fix eye-dropper causing undo push w/o any changesCampbell Barton
Happened when accessing the eyedropper from a popup.
2019-01-18Fix undo pushes w/ color pickerCampbell Barton
While changing RGBA or color wheel didn't add undo steps, HSV and Hex values did. Disable undo for these button types since an undo push happens when exiting the picker.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-14UI: fix misaligned eyedropper icon in button.Harley Acheson
Differential Revision: https://developer.blender.org/D4183
2019-01-14Fix T60441: entering hex color in picker gives wrong result.Brecht Van Lommel
2019-01-04Cleanup: use typed unsigned intsCampbell Barton
2018-12-13Fix T58014, T58650: issues with hex color and Filmic view transform.Brecht Van Lommel
Hex color values are now always in sRGB space, as would be expected by most other applications. Previously they were in display space and using the view transform.
2018-12-13Fix T58549, T56741: HSV color picker issues with Filmic view transform.Brecht Van Lommel
In 2d655d3 the color picker was changed to use display space HSV values. This works ok for a simple sRGB EOTF, but fails with view transforms like Filmic where display space V 1.0 maps to RGB 16.292. Instead we now use the color_picking role from the OCIO config when converting from RGB to HSV in the color picker. This role is set to sRGB in the default OCIO config. This color space fits the following requirements: * It is approximately perceptually linear, so that the HSV numbers and the HSV cube/circle have an intuitive distribution. * It has the same gamut as the scene linear color space. * Color picking values 0..1 map to scene linear values in the 0..1 range, so that picked albedo values are energy conserving.
2018-11-20Cleanup: unused args, indentationCampbell Barton
2018-09-11UI: split theme draw style into separate fieldCampbell Barton
Was using UI_BLOCK_LOOP to control draw style, this meant we couldn't use popup theme colors for cases where it the interface has the same purpose as a popup but happens not to use this flag.
2018-06-17Cleanup: use clamp_* from BLI_math (replace macro)Campbell Barton
2017-11-03Cleanup: split interface_regions.cCampbell Barton
Each region type is quite separate and file was getting too big.