Blender Git Loki

Git Commits -> Revision fec2b2a

Revision fec2b2a by Antonio Vazquez (master)
June 27, 2020, 08:40 (GMT)
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.

Commit Details:

Full Hash: fec2b2a809a8ff16e0c19c42f122d0f649258d02
Parent Commit: 4b96f47
Lines Changed: +8, -5

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_ops.c (+8, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021