[fix] clitools anaglyph should not color black points

This commit is contained in:
alban 2020-10-10 20:09:40 +02:00
parent a06e3ba07e
commit eadc8ca19d

View File

@ -66,9 +66,9 @@ red = (41,24,24)
white = (95,95,95) white = (95,95,95)
blue = (0,41,64) blue = (0,41,64)
red = (255,0,0) red = (127,0,0)
blue = (0,255,255) blue = (0,128,128)
white = (255,255,255) white = (128,128,128)
def anaglyph( pl ): def anaglyph( pl ):
debug(name,'--------------- new loop ------------------') debug(name,'--------------- new loop ------------------')
@ -174,7 +174,6 @@ def anaglyph( pl ):
debug(name,"whiteList:{}".format(out1)) debug(name,"whiteList:{}".format(out1))
debug(name,"blueList:{}".format(out2)) debug(name,"blueList:{}".format(out2))
debug(name,"redList:{}".format(out3)) debug(name,"redList:{}".format(out3))
return out3 + out2
return out1 + out3 + out2 return out1 + out3 + out2
#return out1 + out2 + out3 #return out1 + out2 + out3