Organic display

This commit is contained in:
John 2015-06-09 19:40:31 +03:00 committed by Loudrob
parent f42631b401
commit 6b5226e9e3

View file

@ -193,6 +193,9 @@ class ToonAvatarDetailPanel(DirectFrame):
if numItems == 0:
image_color = Vec4(0.5, 0.5, 0.5, 1)
geom_color = Vec4(0.2, 0.2, 0.2, 0.5)
elif self.avatar.getTrackBonusLevel(track) > -1:
image_color = Vec4(0, 0.8, 0.4, 1)
geom_color = None
else:
image_color = Vec4(0, 0.6, 1, 1)
geom_color = None