Beispiel #1
0
 def getPreview(self):
     eff = ToolEffect(self.engine)
     self.inPreview = True
     try:
         self.applyArea(eff)
     finally:
         self.inPreview = False
     return eff.preview
Beispiel #2
0
 def apply(self):
     eff = ToolEffect(self.engine)
     self.applyArea(eff)
     return eff.apply()
Beispiel #3
0
 def fixZoneSpecific(self, xPos, yPos):
     eff = ToolEffect(self.engine, xPos, yPos)
     self.fixZone(eff)
     eff.apply()