Blender Git Loki
Git Commits -> Revision cd3f0b5
Revision cd3f0b5 by Antonis Ryakiotakis (soc-2013-paint) June 28, 2013, 23:49 (GMT) |
Sampling for image painting: Modify the algorithm so that in 3d viewport, it first attempts to sample the color from the texture assigned to the picked face, if any. This solves the issue of getting a darker colour than the one requested, usually due to viewport shading. |
Commit Details:
Full Hash: cd3f0b542e9fbd8203693e8b19d41b0013a262b4
SVN Revision: 57866
Parent Commit: 1cb8adb
Lines Changed: +106, -7
5 Modified Paths:
/source/blender/editors/sculpt_paint/paint_image.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+96, -4) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+6, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+96, -4) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+6, -0) (Diff)