reparent shtickerbook actors when swapping toon torso, fixes #108
This commit is contained in:
parent
c50df48a06
commit
347829eb57
1 changed files with 3 additions and 0 deletions
|
@ -860,6 +860,9 @@ class Toon(Avatar.Avatar, ToonHead):
|
||||||
self.resetHeight()
|
self.resetHeight()
|
||||||
self.setupToonNodes()
|
self.setupToonNodes()
|
||||||
self.generateBackpack()
|
self.generateBackpack()
|
||||||
|
hands = self.getRightHands()
|
||||||
|
for bookActor, hand in zip(self.__bookActors, hands):
|
||||||
|
bookActor.reparentTo(hand)
|
||||||
|
|
||||||
def generateToonHead(self, copy = 1):
|
def generateToonHead(self, copy = 1):
|
||||||
headHeight = ToonHead.generateToonHead(self, copy, self.style, ('1000', '500', '250'))
|
headHeight = ToonHead.generateToonHead(self, copy, self.style, ('1000', '500', '250'))
|
||||||
|
|
Loading…
Reference in a new issue