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-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-09-02Cleanup: use bool instead of int in various placesJacques Lucke
2020-08-07Cleanup: Blenkernel, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/blenkernel` module. No functional changes.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-04Cleanup: replace CLAMP macros with functionsCampbell Barton
2019-04-27Cleanup: comments (long lines) in blenkernelCampbell Barton
2019-04-22Cleanup: style, use braces for blenkernelCampbell 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-24Fix T49979: HSV/HSL 'Far' interpolation in colorbands when both stops have ↵Bastien Montagne
same hue. When two stops had the exact same color, 'Far' interpolation would behave like the three others and generate constant colors, instead of generating expected 'full turn' in Hue space. Note that this will break the 'constant' color between two stops with same value in the 'Far' interpolation mode, but think that change is OK/expected. This fix also exposed that 'early out' case when we are after last stop was not working properly, still triggering actual interpolation computation in all cases, thus the refactor in `BKE_colorband_evaluate()` itself. We also now avoid computing factors in constant case, and get out early in all interpolation cases but the 'spline' ones (where color ramping can start before first stop, and end after last one). Work initiated by patch from Charlie Jolly (@charlie) in T49979, thanks. Reviewers: brecht, sergey Subscribers: charlie Differential Revision: https://developer.blender.org/D4556
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-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.
2018-11-20UI: Color Ramp: Add menu and functions to distribute color stopsCharlie Jolly
Suggestion from Right-Click Select: https://blender.community/c/rightclickselect/Npcbbc/color-ramp-flags-auto-distribution-function Differential Revision: https://developer.blender.org/D3965
2018-11-04BLI_heap: add an API function to directly read the top node value.Alexander Gavrilov
It is very commonly needed in loop conditions to check if the items in the heap are good enough to continue.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2017-12-13UI: color-band eyedropper now combines samplesCampbell Barton
Resulting color-band was too noisy (especially with photos), use gauss filter to take surrounding samples into account.
2017-12-12Cleanup: minor edits to last commitCampbell Barton
2017-12-12UI: rewrite color-ramp re-samplingCampbell Barton
Instead of picking evenly spaced pixels color-ramp simplification now works by removing elements with the lowest cost.
2017-12-12Add eyedropper to color-ramp widgetRay Molenkamp
D2886 by @LazyDodo with edit's by @campbellbarton The line drawn with the eyedropper is used to fill the color-ramp.
2017-12-07Cleanup: Use BKE_colorband prefixCampbell Barton
2017-12-07Cleanup: extract BKE_colorband from BKE_textureCampbell Barton