Less hacky suitA hands fix

This commit is contained in:
John Cote 2015-05-28 14:57:11 -04:00
parent 0b8f650966
commit 3436e6a8e4

View file

@ -437,9 +437,11 @@ class Suit(Avatar.Avatar):
self.generateCorporateMedallion()
def generateBody(self):
global Preloaded
animDict = self.generateAnimDict()
filePrefix, bodyPhase = ModelDict[self.style.body]
self.loadModel('phase_3.5' + filePrefix + 'mod')
filepath = 'phase_3.5' + filePrefix + 'mod'
self.loadModel(Preloaded[filepath], copy = True)
self.loadAnims(animDict)
self.setSuitClothes()
@ -506,7 +508,7 @@ class Suit(Avatar.Avatar):
modelRoot.find('**/torso').setTexture(torsoTex, 1)
modelRoot.find('**/arms').setTexture(armTex, 1)
modelRoot.find('**/legs').setTexture(legTex, 1)
modelRoot.find('**/hands').setColor(self.handColor)
modelRoot.find('**/hands').setColorScale(self.handColor)
self.leftHand = self.find('**/joint_Lhold')
self.rightHand = self.find('**/joint_Rhold')
self.shadowJoint = self.find('**/joint_shadow')