Skip to content

Commit

Permalink
Layer8 issue, forgot to 'show'
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewMohawk committed Jun 8, 2021
1 parent 39ba9c5 commit 9f35a5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extensions/Aurora_Ambient_AutoCrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ def visualise(self):
startPoint += self.pixelsRight
for i in range(self.pixelsBottom):
B, G, R = (0, 0, 0)
# if(any(val > self.darkThreshhold for val in resizedBottom[0][i])):
B, G, R = resizedBottom[0][i]
if(any(val > self.darkThreshhold for val in resizedBottom[0][i])):
B, G, R = resizedBottom[0][i]
self.pixels[startPoint + self.pixelsBottom - i - 1] = (R, G, B)

# self.log(f"DisplayTime: {datetime.datetime.now()-stopwatchStartTime}")
# self.log(f"Total time taken: {datetime.datetime.now()-totalStartTime}")
# self.pixels.show()
self.pixels.show()

# self.log(f"Total time taken: {datetime.datetime.now()-totalStartTime}")
# self.log("----------------------")
Expand Down

0 comments on commit 9f35a5a

Please sign in to comment.