Better Uint8 string representation in convert-mesh script

This commit is contained in:
Nikita Lisitsa 2021-07-16 09:40:23 +03:00
parent 463cb5372b
commit 3752ad7da0

View file

@ -142,6 +142,12 @@ class Uint8:
def __init__(self, value): def __init__(self, value):
self.value = int(value) self.value = int(value)
def __str__(self):
return str(self.value)
def __repr__(self):
return str(self.value)
if colors: if colors:
for i in range(len(vertex_colors)): for i in range(len(vertex_colors)):