From eadc8ca19d841450b88bfbf1def82d69a36cfedf Mon Sep 17 00:00:00 2001 From: alban Date: Sat, 10 Oct 2020 20:09:40 +0200 Subject: [PATCH] [fix] clitools anaglyph should not color black points --- clitools/filters/anaglyph.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/clitools/filters/anaglyph.py b/clitools/filters/anaglyph.py index 93a8eb6..12d2203 100755 --- a/clitools/filters/anaglyph.py +++ b/clitools/filters/anaglyph.py @@ -66,9 +66,9 @@ red = (41,24,24) white = (95,95,95) blue = (0,41,64) -red = (255,0,0) -blue = (0,255,255) -white = (255,255,255) +red = (127,0,0) +blue = (0,128,128) +white = (128,128,128) def anaglyph( pl ): debug(name,'--------------- new loop ------------------') @@ -174,7 +174,6 @@ def anaglyph( pl ): debug(name,"whiteList:{}".format(out1)) debug(name,"blueList:{}".format(out2)) debug(name,"redList:{}".format(out3)) - return out3 + out2 return out1 + out3 + out2 #return out1 + out2 + out3