예제 #1
0
 def doMoveTo(self):
     ptx.begin()
     folder = self.tex_target.targetPath()
     if os.path.isdir(folder):
         textures = self.selectedTexs()
         for tex in textures:
             if tex.moveTo(folder):
                 tex.setNewFolder(folder)
     ptx.end()
     self.analyse()
     return True
예제 #2
0
 def doCopyTo(self):
     ptx.begin()
     folder = self.projectTxFolder()
     if os.path.isdir(folder):
         textures = self.selectedTexs()
         for tex in textures:
             if tex.copyTo(folder):
                 tex.setNewFolder(folder)
     ptx.end()
     self.analyse()
     return True