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
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-06-27 11:26:46 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-06-27 11:40:37 +0300
commitfec2b2a809a8ff16e0c19c42f122d0f649258d02 (patch)
tree507f76a3ec43422ca19b88e25854808288a09a09 /source/blender/editors/gpencil/gpencil_select.c
parent4b96f4783197c6bbf34230385b711d685df2b545 (diff)
Palettes: Remove threshold parameter when extract from images
Using a number greater than 1 produce a huge number of entries in the palette because any small variation in the color create a new entry. Remove the threshold reduce the precision of the color extracted, but always is better than having a palette with thounsands of colors. Related to T78317 Still pending the memory crash when it's impossible to allocate memory for the palette in the popover, but with this change I don't think we get this error again.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_select.c')
0 files changed, 0 insertions, 0 deletions