Пример #1
0
 def writePaintMode(update=False, *args):
   paintModeName = self.texturePainterTools['paintmode'].get()
   paintMode = TexturePainter_PaintMode_Enum[paintModeName]
   texturePainter.setPaintMode(paintMode)
   
   if update is True:
     readPaintMode()
Пример #2
0
 def setPaintMode(paintMode):
   #print "I: EditorApp.showTexturepainterTools.setPaintMode:", paintMode
   texturePainter.setPaintMode(paintMode)
   readPaintMode()