[fix] clitools anaglyph should not color black points
This commit is contained in:
parent
eadc8ca19d
commit
be60f25b16
@ -72,7 +72,8 @@ def cycleColor( pl ):
|
|||||||
|
|
||||||
debug(name,"currentColor:{}".format(currentColor))
|
debug(name,"currentColor:{}".format(currentColor))
|
||||||
for i in range( 0, len(pl)):
|
for i in range( 0, len(pl)):
|
||||||
pl[i][2] = rgb2int( currentColor)
|
if pl[i][2] != 0:
|
||||||
|
pl[i][2] = rgb2int( currentColor)
|
||||||
|
|
||||||
# change the composant if target reached
|
# change the composant if target reached
|
||||||
if value <= target and currentDirection == DOWN or value >= target and currentDirection == UP :
|
if value <= target and currentDirection == DOWN or value >= target and currentDirection == UP :
|
||||||
|
Loading…
Reference in New Issue
Block a user