mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
9aaca1bb5f
Fixed "IndexError: tuple index out of range" `value = tuple(float(value[i]) / divisor for i in value)` Was effectively attempting to access the value tuple using an element as an index. `value = tuple(float(i) / divisor for i in value)` Uses the elements from the tuple and modifies them. Ex: (0,0,0,255) becomes: (0.0, 0.0, 0.0, 255.0) Instead of throwing an error.