historical/toontown-just-works.git/toontown/coghq/PaintMixer.py

14 lines
444 B
Python
Raw Normal View History

2024-01-16 17:20:27 +00:00
import PlatformEntity
class PaintMixer(PlatformEntity.PlatformEntity):
def start(self):
PlatformEntity.PlatformEntity.start(self)
model = self.platform.model
shaft = model.find('**/PaintMixerBase1')
shaft.setSz(self.shaftScale)
shaft.node().setPreserveTransform(0)
shaftChild = shaft.find('**/PaintMixerBase')
shaftChild.node().setPreserveTransform(0)
model.flattenMedium()