Better Uint8 string representation in convert-mesh script
This commit is contained in:
parent
463cb5372b
commit
3752ad7da0
1 changed files with 6 additions and 0 deletions
|
|
@ -142,6 +142,12 @@ class Uint8:
|
|||
def __init__(self, value):
|
||||
self.value = int(value)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.value)
|
||||
|
||||
def __repr__(self):
|
||||
return str(self.value)
|
||||
|
||||
|
||||
if colors:
|
||||
for i in range(len(vertex_colors)):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue