mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 04:32:33 -06:00
Less hacky suitA hands fix
This commit is contained in:
parent
0b8f650966
commit
3436e6a8e4
1 changed files with 4 additions and 2 deletions
|
@ -437,9 +437,11 @@ class Suit(Avatar.Avatar):
|
||||||
self.generateCorporateMedallion()
|
self.generateCorporateMedallion()
|
||||||
|
|
||||||
def generateBody(self):
|
def generateBody(self):
|
||||||
|
global Preloaded
|
||||||
animDict = self.generateAnimDict()
|
animDict = self.generateAnimDict()
|
||||||
filePrefix, bodyPhase = ModelDict[self.style.body]
|
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.loadAnims(animDict)
|
||||||
self.setSuitClothes()
|
self.setSuitClothes()
|
||||||
|
|
||||||
|
@ -506,7 +508,7 @@ class Suit(Avatar.Avatar):
|
||||||
modelRoot.find('**/torso').setTexture(torsoTex, 1)
|
modelRoot.find('**/torso').setTexture(torsoTex, 1)
|
||||||
modelRoot.find('**/arms').setTexture(armTex, 1)
|
modelRoot.find('**/arms').setTexture(armTex, 1)
|
||||||
modelRoot.find('**/legs').setTexture(legTex, 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.leftHand = self.find('**/joint_Lhold')
|
||||||
self.rightHand = self.find('**/joint_Rhold')
|
self.rightHand = self.find('**/joint_Rhold')
|
||||||
self.shadowJoint = self.find('**/joint_shadow')
|
self.shadowJoint = self.find('**/joint_shadow')
|
||||||
|
|
Loading…
Reference in a new issue