GPencil: Invert Fade Object slider

The Fade Objects and Fade Layers parameters had opposite meaning and this was not correct.

Now, both parameters work in the same direction.
This commit is contained in:
Antonioya
2019-05-15 19:30:27 +02:00
parent 1185031cfb
commit fe8f0758c6

View File

@@ -5,5 +5,5 @@ out vec4 FragColor;
void main()
{
FragColor = vec4(color, opacity);
FragColor = vec4(color, 1.0 - opacity);
}