def __init__(self, cr): DistributedPartyDanceActivityBase.__init__( self, cr, PartyGlobals.ActivityIds.PartyDance, PartyGlobals.DancePatternToAnims, model='phase_13/models/parties/tt_m_ara_pty_danceFloorValentine')
def __init__(self, cr): DistributedPartyDanceActivityBase.__init__( self, cr, PartyGlobals.ActivityIds.PartyDance20, PartyGlobals.DancePatternToAnims20, model="phase_13/models/parties/tt_m_ara_pty_danceFloorValentine", )
def load(self): DistributedPartyDanceActivityBase.load(self) parentGroup = self.danceFloor.find('**/discoBall_mesh') correctBall = self.danceFloor.find('**/discoBall_20') if not correctBall.isEmpty(): numChildren = parentGroup.getNumChildren() for i in xrange(numChildren): child = parentGroup.getChild(i) if child != correctBall: child.hide()
def load(self): DistributedPartyDanceActivityBase.load(self) parentGroup = self.danceFloor.find("**/discoBall_mesh") correctBall = self.danceFloor.find("**/discoBall_20") if not correctBall.isEmpty(): numChildren = parentGroup.getNumChildren() for i in xrange(numChildren): child = parentGroup.getChild(i) if child != correctBall: child.hide()
def load(self): """Load the dance floor, and handle 10 and 20 versions of disco ball.""" DistributedPartyDanceActivityBase.load(self) parentGroup = self.danceFloor.find("**/discoBall_mesh") correctBall = self.danceFloor.find("**/discoBall_20") if not correctBall.isEmpty(): numChildren = parentGroup.getNumChildren() for i in xrange(numChildren): child = parentGroup.getChild(i) if child != correctBall: child.hide()
def __init__(self, cr): DistributedPartyDanceActivityBase.__init__( self, cr, PartyGlobals.ActivityIds.PartyDance20, PartyGlobals.DancePatternToAnims20)
def __init__(self, cr): DistributedPartyDanceActivityBase.__init__(self, cr, PartyGlobals.ActivityIds.PartyDance20, PartyGlobals.DancePatternToAnims20)