Blender Git Loki
Git Commits -> Revision fe327c0
Revision fe327c0 by Clément Foucault (draw-colormanagement) January 31, 2020, 17:59 (GMT) |
Overlay: Put all colors inside draw_common.c for correct colormanagment. The only exception is for text drawing where the color needs to be sRGB bytes. This could be fixed in the future. There are only two hardcoded values remaining but are rather not important: - object center transform gizmo darkening. - particle display default color. |
Commit Details:
Full Hash: fe327c0970adba95c6d4d552e6efac4cb1ae841b
Parent Commit: 691c6f9
Lines Changed: +151, -225
7 Modified Paths:
/source/blender/draw/engines/overlay/overlay_armature.c (+43, -195) (Diff)
/source/blender/draw/engines/overlay/overlay_extra.c (+29, -24) (Diff)
/source/blender/draw/engines/overlay/overlay_metaball.c (+4, -4) (Diff)
/source/blender/draw/engines/overlay/overlay_motion_path.c (+1, -0) (Diff)
/source/blender/draw/intern/draw_common.c (+26, -2) (Diff)
/source/blender/draw/intern/draw_common.h (+24, -0) (Diff)
/source/blender/draw/intern/shaders/common_globals_lib.glsl (+24, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_extra.c (+29, -24) (Diff)
/source/blender/draw/engines/overlay/overlay_metaball.c (+4, -4) (Diff)
/source/blender/draw/engines/overlay/overlay_motion_path.c (+1, -0) (Diff)
/source/blender/draw/intern/draw_common.c (+26, -2) (Diff)
/source/blender/draw/intern/draw_common.h (+24, -0) (Diff)
/source/blender/draw/intern/shaders/common_globals_lib.glsl (+24, -0) (Diff)