diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 13:46:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 13:46:14 +0300 |
commit | d09920687c4474f5f6ccf0f089d359f69932afac (patch) | |
tree | 3fa95c573d162f2b228d1165b66f9bb6d41cf538 /source/blender/editors/interface/interface_draw.c | |
parent | adc17317c5af23c0986a449da6d0aef130d1f503 (diff) | |
parent | 128506eeb1a2d87393061b4c9783289a5e4b3275 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/interface/interface_draw.c')
-rw-r--r-- | source/blender/editors/interface/interface_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c index 97491d365b7..11cbc448713 100644 --- a/source/blender/editors/interface/interface_draw.c +++ b/source/blender/editors/interface/interface_draw.c @@ -1114,7 +1114,7 @@ static void vectorscope_draw_target(unsigned int pos, float centerx, float cente float tangle = 0.0f, tampli; float dangle, dampli, dangle2, dampli2; - rgb_to_yuv(colf[0], colf[1], colf[2], &y, &u, &v); + rgb_to_yuv(colf[0], colf[1], colf[2], &y, &u, &v, BLI_YUV_ITU_BT709); if (u > 0 && v >= 0) tangle = atanf(v / u); else if (u > 0 && v < 0) tangle = atanf(v / u) + 2.0f * (float)M_PI; else if (u < 0) tangle = atanf(v / u) + (float)M_PI; |