Poodletooth-iLand/toontown/coghq/PaintMixer.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

13 lines
444 B
Python
Executable file

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()