[fix] clitools anaglyph should not color black points
This commit is contained in:
父節點
eadc8ca19d
當前提交
be60f25b16
共有 1 個文件被更改,包括 2 次插入 和 1 次删除
|
|
@ -72,7 +72,8 @@ def cycleColor( pl ):
|
|||
|
||||
debug(name,"currentColor:{}".format(currentColor))
|
||||
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
|
||||
if value <= target and currentDirection == DOWN or value >= target and currentDirection == UP :
|
||||
|
|
|
|||
載入中…
Add table
Reference in a new issue