Merge pull request #111 from demiurgeQuantified/fix-missing-shtickerbook

Fix missing Shtickerbook model after switching between shorts/skirt
This commit is contained in:
Little Cat 2023-11-07 21:22:29 -04:00 committed by GitHub
commit 3e9baa8d2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))