SOS page fix

This commit is contained in:
John 2015-08-17 16:54:59 +03:00
parent 7053ae8676
commit a867837385

View file

@ -273,6 +273,7 @@ class ToonAvatarDetailPanel(DirectFrame):
else: else:
pos = (0, 0, 0.05) pos = (0, 0, 0.05)
scale = 0.5 scale = 0.5
self.sosFrame.setBin('background', 10)
Sequence( Sequence(
Parallel( Parallel(
@ -285,5 +286,8 @@ class ToonAvatarDetailPanel(DirectFrame):
def __enableSOSButton(self): def __enableSOSButton(self):
try: try:
self.sosButton['state'] = DGG.NORMAL self.sosButton['state'] = DGG.NORMAL
if self.sosFrame.getScale() == 1.0:
self.sosFrame.clearBin()
except: except:
pass pass