Blender Git Loki

Git Commits -> Revision 71cf50a

Revision 71cf50a by Antonis Ryakiotakis (soc-2013-paint)
April 27, 2014, 20:02 (GMT)
* Add custom color for new layers.

This is not ideal because of the internal representation of byte images,
which is straight alpha. This means that on the display we will get an
opaque color if we try painting on a transparent image. To bypass this I
have enforced alpha to be 1 in that case. If we are to support this we
should upload byte images as premultiplied meaning we take a performance
hit...hmmmm...no.

* Add dependency update when painting on image editor. Should handle
update of layer icons nicely

Commit Details:

Full Hash: 71cf50ae24702a6eb21a4d5bad5ce9ec3dc4279f
Parent Commit: 09b6760
Lines Changed: +26, -3

5 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_2d.c (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+15, -2) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021