Blender Git Commit Log

Git Commits -> Revision 2637efa

Revision 2637efa by Sergey Sharybin (master)
September 23, 2012, 14:16 (GMT)
Fix #32522: Object's diffuse color not showing in Sculpt Mode

It was missing since sculpting mask implementation.

Now object's color would be multiplied by sculpt mask value.

For VBOs it's done by storing final color in VertexBufferFormat and
mimic behavior of setMaterial callback for getting current diffuse
color.

For non-VBOs diffuse color is getting from current OpenGL context.

Commit Details:

Full Hash: 2637efa2a372425d12c7c93b66ba87483a71f3b1
SVN Revision: 50827
Parent Commit: fa2daf0
Lines Changed: +102, -33

5 Modified Paths:

/source/blender/blenlib/intern/pbvh.c (+4, -0) (Diff)
/source/blender/gpu/GPU_buffers.h (+3, -2) (Diff)
/source/blender/gpu/GPU_draw.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+78, -31) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+15, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021