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 @property
def has_vertex_colors(self): def has_vertex_colors(self):
return len(self.vertex_colors) return len(self.vertex_colors) > 0
@property @property
def has_vertex_normals(self): def has_vertex_normals(self):
return len(self.vertex_normals) return len(self.vertex_normals) > 0
def __init__(self): def __init__(self):
self.points: List[Vector3] = [] self.points: List[Vector3] = []