Blender Git Commit Log

Git Commits -> Revision 9b0ea92

Revision 9b0ea92 by Dalai Felinto (master)
April 28, 2018, 14:54 (GMT)
UI: Number slider uniform filling

Now we always fill the slider with a vertical boundary. A bit hard to explain,
but very easy to see the difference.

I split the widget in three parts and used fragment shader discard to remove the
undesired bits. That means all the widget program is doing a bit extra
calculation.

Reviewers: fclem

Subscribers: billreynish

Differential Revision: https://developer.blender.org/D3186

Commit Details:

Full Hash: 9b0ea92be75c67567e05a091d0593b87564e0ad1
Parent Commit: c06bfe9
Lines Changed: +93, -46

4 Modified Paths:

/source/blender/editors/interface/interface_intern.h (+5, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+69, -39) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_widget_base_frag.glsl (+5, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_widget_base_vert.glsl (+14, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021