Fixed has_vertex_colors and has_vertex_normals return values

This commit is contained in:
Colin Basnett
2022-01-25 21:09:47 -08:00
parent 4099c95381
commit 2f5ed901b2

View File

@@ -86,11 +86,11 @@ class Psk(object):
@property
def has_vertex_colors(self):
return len(self.vertex_colors)
return len(self.vertex_colors) > 0
@property
def has_vertex_normals(self):
return len(self.vertex_normals)
return len(self.vertex_normals) > 0
def __init__(self):
self.points: List[Vector3] = []